Sha256: 99432ec136cd8eb2ba23fec14d2a19c7f12d87a8ad3f6505e76f3e6cd058aba2
Contents?: true
Size: 374 Bytes
Versions: 11
Compression:
Stored size: 374 Bytes
Contents
class Foo def foo=(x) @foo = x end def foo @foo end end def log(x) end Foo.new.foo = 1 log(Foo.new.foo) Foo.new.foo = "str" log(Foo.new.foo) __END__ # Classes class Object private def log: (Integer | String x) -> nil end class Foo @foo: Integer | String def foo=: (Integer | String x) -> (Integer | String) def foo: -> (Integer | String) end
Version data entries
11 entries across 11 versions & 1 rubygems