323 324 325 326 327 328 329
# File 'lib/types/_types.rb', line 323 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedEnumeratorLazy::Untyped.new else T::Types::TypedEnumeratorLazy.new(type) end end