Sha256: fd858db23aa79a396265deb17be5f373d0599446f0531306aeaf0f8dcf99579c

Contents?: true

Size: 206 Bytes

Versions: 3

Compression:

Stored size: 206 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typeprof-0.9.2 smoke/struct5.rb
typeprof-0.9.1 smoke/struct5.rb
typeprof-0.9.0 smoke/struct5.rb