Sha256: a95d18e65cafdc446d0fa3504b19515a15f058d4d594641d19e905a695fcb5c9

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

class User
  def foo(name: "str", age: 0)
    @name, @age = name, age
  end

  attr_reader :name, :age
end

__END__
# Classes
class User
  attr_reader name: String | untyped
  attr_reader age: Integer | untyped
  def foo: (?name: String | untyped, ?age: Integer | untyped) -> ([String | untyped, Integer | untyped])
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/user-demo.rb
typeprof-0.9.1 smoke/user-demo.rb
typeprof-0.9.0 smoke/user-demo.rb