lib/ludy/proc/curry.rb in ludy-0.1.9 vs lib/ludy/proc/curry.rb in ludy-0.1.10

- old
+ new

@@ -10,10 +10,10 @@ # lambda{|a,b,c| [a,b,c]}.curry[1][2][3] # => [1,2,3] def curry class << self alias_method :__call__, :call - def call *args, &block + def call *args, &block # :nodoc: if self.arity == -1 begin # let's try if arguments are ready # is there any better way to determine this? # it's hard to detect correct arity value when # Symbol#to_proc happened