lib/yogo/support/proc/compose.rb in yogo-support-0.1.0 vs lib/yogo/support/proc/compose.rb in yogo-support-0.1.1
- old
+ new
@@ -1,10 +1,9 @@
module Yogo
module Support
module Proc
module Compose
def compose(g)
- raise ArgumentError, "arity count mismatch" unless arity == g.arity
lambda{|*args| self[*g[*args]] }
end
def *(x)
if Integer===x
\ No newline at end of file