Module: Musa::Neumas::Neuma
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#|(other) ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/musa-dsl/neumas/neumas.rb', line 16 def |(other) if is_a?(Parallel) clone.tap { |_| _[:parallel] << convert_to_parallel_element(other) }.extend(Parallel) else { kind: :parallel, parallel: [clone, convert_to_parallel_element(other)] }.extend(Parallel) end end |