Sha256: 3889799becc7e7fee82af6064d4e8c8d7f2ecd21afb0a408fe44ee60720a7ce8

Contents?: true

Size: 269 Bytes

Versions: 19

Compression:

Stored size: 269 Bytes

Contents

class Foo
  def foo=(x)
    @foo = x
  end

  def foo
    @foo
  end
end

Foo.new.foo = 1
Foo.new.foo = "str"
Foo.new.foo

__END__
# Classes
class Foo
  @foo : Integer | String
  def foo= : (Integer | String) -> (Integer | String)
  def foo : -> (Integer | String)
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
typeprof-0.8.0 smoke/demo6.rb
typeprof-0.7.0 smoke/demo6.rb
typeprof-0.6.1 smoke/demo6.rb
typeprof-0.6.0 smoke/demo6.rb
typeprof-0.5.4 smoke/demo6.rb
typeprof-0.5.3 smoke/demo6.rb
typeprof-0.5.2 smoke/demo6.rb
typeprof-0.5.1 smoke/demo6.rb
typeprof-0.5.0 smoke/demo6.rb
typeprof-0.4.2 smoke/demo6.rb
typeprof-0.4.1 smoke/demo6.rb
typeprof-0.4.0 smoke/demo6.rb
typeprof-0.3.0 smoke/demo6.rb
typeprof-0.2.0 smoke/demo6.rb
typeprof-0.1.4 smoke/demo6.rb
typeprof-0.1.3 smoke/demo6.rb
typeprof-0.1.2 smoke/demo6.rb
typeprof-0.1.1 smoke/demo6.rb
typeprof-0.1.0 smoke/demo6.rb