298 299 300 301 302 303 304
# File 'lib/types/_types.rb', line 298 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedSet::Untyped.new else T::Types::TypedSet.new(type) end end