module SugarRefinery::ArrayOp

Public Instance Methods

**(*o, &block) click to toggle source
# File lib/sugar_refinery/array_op.rb, line 10
def **(*o, &block)
  product *o, &block
end
^(other) click to toggle source
# File lib/sugar_refinery/array_op.rb, line 6
def ^(other)
  (self - other) + (other - self)
end