Sha256: c23f82563b8b20a191eed84937c52814b71599d1e753fbcb77eb4f8b717ce2b9
Contents?: true
Size: 210 Bytes
Versions: 2
Compression:
Stored size: 210 Bytes
Contents
Foo = Struct.new(:foo) class Foo def initialize(foo) super(foo.to_s) end end Foo.new(42) __END__ # Classes class Foo < Struct attr_accessor foo(): String def initialize: (Integer foo) -> Foo end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.11.0 | smoke/struct5.rb |
typeprof-0.10.0 | smoke/struct5.rb |