Sha256: 026884356832e93d2bf5d9d529349630012ff4ddadc4c2425b80a19805647bdf

Contents?: true

Size: 212 Bytes

Versions: 9

Compression:

Stored size: 212 Bytes

Contents

Foo = Struct.new(:a, :b, :c, keyword_init: true)
Foo[a: 1, b: "str", c: 1.0]

__END__
# Classes
class Foo < Struct[untyped]
  attr_accessor a(): Integer
  attr_accessor b(): String
  attr_accessor c(): Float
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
typeprof-0.20.0 smoke/struct-keyword_init.rb
typeprof-0.15.3 smoke/struct-keyword_init.rb
typeprof-0.15.2 smoke/struct-keyword_init.rb
typeprof-0.15.1 smoke/struct-keyword_init.rb
typeprof-0.15.0 smoke/struct-keyword_init.rb
typeprof-0.14.1 smoke/struct-keyword_init.rb
typeprof-0.14.0 smoke/struct-keyword_init.rb
typeprof-0.13.0 smoke/struct-keyword_init.rb
typeprof-0.12.0 smoke/struct-keyword_init.rb