Modules: Chain, Lazy
314 315 316 317 318 319 320
# File 'lib/types/_types.rb', line 314 def self.[](type) if type.is_a?(T::Types::Untyped) T::Types::TypedEnumerator::Untyped.new else T::Types::TypedEnumerator.new(type) end end