Sha256: 83da8f5175b4dbd05b82c5f20513973e8b1f0108de9158f1e78d622b31ba85e8

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

class Foo
  attr_reader :foo
  def initialize(foo)
    @foo = foo
  end
end

def log
  [Foo.new(42)].map(&:foo)
end

__END__
# Classes
class Object
  private
  def log: -> (Array[Integer | untyped])
end

class Foo
  attr_reader foo: Integer | untyped
  def initialize: (Integer | untyped foo) -> void
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/symbol-proc-attr.rb
typeprof-0.15.3 smoke/symbol-proc-attr.rb
typeprof-0.15.2 smoke/symbol-proc-attr.rb
typeprof-0.15.1 smoke/symbol-proc-attr.rb
typeprof-0.15.0 smoke/symbol-proc-attr.rb