speranskydanil/functional-ruby — pull request #1 by 404pnf (2014-05-21 03:11:15+00:00)
Title: use define_method to remove duplicate codes

gist

``` ruby
%w(+ - /).each do |meth|
define_method(meth) do |fn, *args|
-> *args { self[*args].send(meth.to_sym, fn[*args]) }
end
end
```