module Kind::UnionType::Buildable

Public Instance Methods

|(another_kind) click to toggle source
# File lib/kind/objects/union_type.rb, line 29
def |(another_kind)
  __union_type | another_kind
end

Private Instance Methods

__union_type() click to toggle source
# File lib/kind/objects/union_type.rb, line 35
def __union_type
  @__union_type ||= UnionType[self]
end