Sha256: d1fe5d48913a6918ab458fa14100c0e455a6a6c3425be4ba423b84315a4c9192
Contents?: true
Size: 271 Bytes
Versions: 3
Compression:
Stored size: 271 Bytes
Contents
class Test class << self def foo(x) x end alias bar foo end end Test.foo(1) Test.bar("str") #Test.baz(:sym) # Test#foo: (Integer) -> Integer __END__ # Classes class Test def self.foo: (Integer) -> Integer def self.bar: (String) -> String end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.9.2 | smoke/class_method2.rb |
typeprof-0.9.1 | smoke/class_method2.rb |
typeprof-0.9.0 | smoke/class_method2.rb |