what_happen
Version, currently 0.1.01 version
- 0.1.0latestMay 23, 2020
github.com/shootingfly/what_happen
Tell you what happen when x changes to y.
6 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
what_happen:
github: shootingfly/what_happen
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
0.34.0- License
- MIT
- Author
- Shootingfly
Dependencies
This version declares no dependencies.
README
What Happen
Tell you what happen when x changes to y.
Work on methods without any arguments or all arguments have default values.
Installation
- Add the dependency to your
shard.yml:
dependencies:
what_happen:
github: shootingfly/what_happen
- Run
shards install
Usage
require "what_happen"
puts what_happen(from: [1, 2, 3], to: 1) # => ["first", "first?", "min", "min?"]
Expection
It doesn't work on the following methods.
["transpose", "to_h", "sample", "sum", "product"]
Contributing
- Fork it (https://github.com/shootingfly/what_happen/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Shootingfly - creator and maintainer
Thanks
Thanks to jbodah for his awesome work on suggest_rb
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- May 23, 2020
- Commit
736c101e392e- Crystal
0.34.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/shootingfly/what_happen
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1