Sha256: 42c5c9cd7e20fa052e3c755e022be646eb3c9a783aa28dbe4375fb22c48dd129

Contents?: true

Size: 320 Bytes

Versions: 6

Compression:

Stored size: 320 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) -> (Integer | untyped)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typeprof-0.14.1 smoke/symbol-proc-attr.rb
typeprof-0.14.0 smoke/symbol-proc-attr.rb
typeprof-0.13.0 smoke/symbol-proc-attr.rb
typeprof-0.12.0 smoke/symbol-proc-attr.rb
typeprof-0.11.0 smoke/symbol-proc-attr.rb
typeprof-0.10.0 smoke/symbol-proc-attr.rb