class Object

Require ‘beethoven/object` to monkey patch Object with the class composition operators.

Public Instance Methods

*(other) click to toggle source
# File lib/beethoven/object.rb, line 4
def *(other)
  Beethoven::Composer.new(other, self)
end
|(other) click to toggle source
# File lib/beethoven/object.rb, line 8
def |(other)
  Beethoven::Composer.new(self, other)
end