Method: Uinit::Type::Composition#initialize
- Defined in:
- lib/uinit/type/composition.rb
#initialize(operand, compositions = []) ⇒ Composition
Returns a new instance of Composition.
9 10 11 12 13 14 |
# File 'lib/uinit/type/composition.rb', line 9 def initialize(operand, compositions = []) super() @operand = Type.from(operand) @compositions = compositions end |