Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/rupture/fn.rb
Instance Method Summary collapse
Instance Method Details
#[](method_name, *partials) ⇒ Object
83 84 85 86 87 |
# File 'lib/rupture/fn.rb', line 83 def [](method_name, *partials) lambda do |*args| self.send(method_name, *(args + partials)) end end |