Sha256: eaafc2cb3ed622f7e1f76c95b7b5322a5cbe661ed70b0f0538e50647eef69251
Contents?: true
Size: 462 Bytes
Versions: 5
Compression:
Stored size: 462 Bytes
Contents
CONST = 1 class Foo CONST = "str" class Bar def get1 CONST end def get2 ::CONST end def get3 Object::CONST end end end class Foo::Bar def get4 CONST end end Foo::Bar.new.get1 # String Foo::Bar.new.get2 # Integer Foo::Bar.new.get3 # Integer Foo::Bar.new.get4 # Integer __END__ # Classes class Foo::Bar def get1 : -> String def get2 : -> Integer def get3 : -> Integer def get4 : -> Integer end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.1.4 | smoke/constant1.rb |
typeprof-0.1.3 | smoke/constant1.rb |
typeprof-0.1.2 | smoke/constant1.rb |
typeprof-0.1.1 | smoke/constant1.rb |
typeprof-0.1.0 | smoke/constant1.rb |