265 266 267 268 269 270 271
# File 'lib/types/_types.rb', line 265 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedSet::Untyped.new else T::Types::TypedSet.new(type) end end