Sha256: c8a699d0cd24b404a83d4dac5d1a9e4f7ab86b850e9fb1532121c720fb783617

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

# Require `beethoven/object` to monkey patch Object with the class composition
# operators.
class Object
  def *(other)
    Beethoven::Composer.new(other, self)
  end

  def |(other)
    Beethoven::Composer.new(self, other)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beethoven-0.1.0 lib/beethoven/object.rb