Sha256: 29cc357d80a5564c8ef0ff753d4a723f0c2573a7775f058f4785c34f2438893f
Contents?: true
Size: 407 Bytes
Versions: 11
Compression:
Stored size: 407 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 x) -> nil def bar: (Integer | String x) -> nil def self.test: (Integer | String x) -> nil end class B < A def bar: ((Integer | String)? x) -> nil end
Version data entries
11 entries across 11 versions & 1 rubygems