Sha256: 161278815a60267e06b778f67ee0d7157aec58356de972a4a2e9d16409a251ec

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/symbol-proc-attr.rb
typeprof-0.9.1 smoke/symbol-proc-attr.rb
typeprof-0.9.0 smoke/symbol-proc-attr.rb