Module: T::Set
- Defined in:
- lib/types/_types.rb
Class Method Summary collapse
Class Method Details
.[](type) ⇒ Object
350 351 352 353 354 355 356 |
# File 'lib/types/_types.rb', line 350 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedSet::Untyped.new else T::Types::TypedSet.new(type) end end |