Sha256: 7fb91b1c3165d6d5bcf3e2006dce4466b69e8eaab741c1d1fee933fc9a0eb5d6
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
class A def initialize(x) @int = 1 @str = "str" @val = x end end def log(x) end log A.new(1) A.new("str") A.new(nil) __END__ # Classes class Object private def log: (A x) -> nil end class A @int: Integer @str: String @val: (Integer | String)? def initialize: ((Integer | String)? x) -> void end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.20.0 | smoke/initialize.rb |
typeprof-0.15.3 | smoke/initialize.rb |
typeprof-0.15.2 | smoke/initialize.rb |
typeprof-0.15.1 | smoke/initialize.rb |
typeprof-0.15.0 | smoke/initialize.rb |