Sha256: 44cf5254ecd381151ec792b5efac5abdeb3d9acaffe09a5512345976200827b0

Contents?: true

Size: 320 Bytes

Versions: 11

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
  def foo: (?name: String | untyped, ?age: Integer | untyped) -> ([String | untyped, Integer | untyped])
  attr_reader name: String | untyped
  attr_reader age: Integer | untyped
end

Version data entries

11 entries across 11 versions & 1 rubygems

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