Libraries
»
type_struct
(0.3.0)
»
Index (U)
»
TypeStruct
»
Unionable
Module: TypeStruct::Unionable
Included in:
ArrayOf
,
HashOf
,
Interface
Defined in:
lib/type_struct/union.rb
Instance Method Summary
collapse
#
|
(other) ⇒ Object
Instance Method Details
#
|
(other) ⇒
Object
27 28 29
# File 'lib/type_struct/union.rb', line 27
def
|
(
other
)
Union
.
new
(
self
,
other
)
end