Sha256: 482af0bb792cd7122dc5639e58f80c7bd3813a97716b928bd77ee96a039f5b30
Contents?: true
Size: 403 Bytes
Versions: 19
Compression:
Stored size: 403 Bytes
Contents
class A def foo(x) bar(x) end def bar(x) end def self.test(x) end end class B < A def bar(x) end end A.new.foo(1) B.new.foo("str") B.new.bar(nil) A.test(1) B.test("str") __END__ # Classes class A def foo : (Integer | String) -> nil def bar : (Integer | String) -> nil def self.test : (Integer | String) -> nil end class B < A def bar : ((Integer | String)?) -> nil end
Version data entries
19 entries across 19 versions & 1 rubygems