Sha256: c33033db168b2850bb3ca6d8ba308bab60500ae74050a4996513375476fc7fbd
Contents?: true
Size: 203 Bytes
Versions: 2
Compression:
Stored size: 203 Bytes
Contents
Foo = Struct.new(:a, :b, :c, keyword_init: true) Foo[a: 1, b: "str", c: 1.0] __END__ # Classes class Foo < Struct attr_accessor a(): Integer attr_accessor b(): String attr_accessor c(): Float end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.11.0 | smoke/struct-keyword_init.rb |
typeprof-0.10.0 | smoke/struct-keyword_init.rb |