18 19 20
# File 'lib/kind/objects/union_type.rb', line 18 def |(kind) self.class.new(@kinds + [Interface[kind.nil? ? Kind::Nil : kind]]) end