Mf - Modifier Functions
You can do this in Ruby: [1,2,3].map(&Mf + 5) # => [6, 7, 8] with this: https://github.com/baweaver/mf
…and a few other things as well.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
You can do this in Ruby: [1,2,3].map(&Mf + 5) # => [6, 7, 8] with this: https://github.com/baweaver/mf
…and a few other things as well.
Post a comment