lib/lambda_driver/disjunction.rb in lambda_driver-1.1.0 vs lib/lambda_driver/disjunction.rb in lambda_driver-1.1.1

- old
+ new

@@ -1,8 +1,8 @@ module LambdaDriver::Disjunction def disjunction(f = nil, &block) if f.nil? && (not block_given?) - return lambda{|g=nil,&inner_block| self.disjunction(g, &inner_block) } + return self.method(:disjunction) end (block_given? ? (yield self) : f.call(self)) || self end end