[Source]
# File lib/prelude.rb, line 42 42: def curry(one, *args) 43: proc { |*args| self.to_proc.call(one, *args) } 44: end
# File lib/prelude.rb, line 38 38: def to_proc 39: proc { |obj, *args| obj.send(self, *args) } 40: end