Sha256: 55f32286d4d87104c54a1a8b99c079df372f1b15d7993c6c1455213f5bd5691a
Contents?: true
Size: 407 Bytes
Versions: 54
Compression:
Stored size: 407 Bytes
Contents
class A # A#foo is defined and the implementation is compatible. def foo(x) x + "" end # A#bar is defined but the implementation is incompatible. def bar(y) y end # Object#to_s is defined but the implementation is incompatible. def to_s 3 end # No method definition given via signature, there is no type error. def to_str 5 end def self.baz "baz" end end
Version data entries
54 entries across 54 versions & 1 rubygems