Sha256: 005111b50f7c7b1f2462b772f921d2e7b9cc5555db499f5bf84d4736863a3637

Contents?: true

Size: 266 Bytes

Versions: 11

Compression:

Stored size: 266 Bytes

Contents

class Foo
  def int_and_str_enum
    return enum_for(__method__) unless block_given?

    yield 1
    yield 2
    yield 3

    1.0
  end
end

__END__
# Classes
class Foo
  def int_and_str_enum: ?{ (Integer) -> untyped } -> (Enumerator[Integer, untyped] | Float)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/enum_for2.rb
typeprof-0.15.3 smoke/enum_for2.rb
typeprof-0.15.2 smoke/enum_for2.rb
typeprof-0.15.1 smoke/enum_for2.rb
typeprof-0.15.0 smoke/enum_for2.rb
typeprof-0.14.1 smoke/enum_for2.rb
typeprof-0.14.0 smoke/enum_for2.rb
typeprof-0.13.0 smoke/enum_for2.rb
typeprof-0.12.0 smoke/enum_for2.rb
typeprof-0.11.0 smoke/enum_for2.rb
typeprof-0.10.0 smoke/enum_for2.rb