what_happen v0.1.0
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
Repository
what_happen
Owner
Statistic
- 6
- 1
- 0
- 0
- 0
- over 3 years ago
- May 23, 2020
License
MIT License
Links
Synced at
Sat, 23 Nov 2024 09:30:56 GMT
Languages