390 391 392 393 394 395 396
# File 'lib/types/_types.rb', line 390 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedSet::Untyped.new else T::Types::TypedSet.new(type) end end