lib/danica/operator/chained.rb in danica-2.7.1 vs lib/danica/operator/chained.rb in danica-2.7.2
- old
+ new
@@ -43,14 +43,9 @@
parcel = wrap_as_group(parcel)
parcel.to(*args)
end
end
- def repack(other)
- other_variables = other.is_a?(self.class) ? other.variables : [ other ]
- self.class.new(variables + other_variables)
- end
-
def chain(numbers)
numbers.inject do |a,b|
chain_operation(a,b)
end.to_f
end