Module: TypeStruct::Unionable

Included in:
ArrayOf, HashOf, Interface
Defined in:
lib/type_struct/union.rb

Instance Method Summary collapse

Instance Method Details

#|(other) ⇒ Object



27
28
29
# File 'lib/type_struct/union.rb', line 27

def |(other)
  Union.new(self, other)
end