Sha256: 32021905d155f540de6df8710a22b2c1c09de413decfb8719c1418c52644659e

Contents?: true

Size: 195 Bytes

Versions: 12

Compression:

Stored size: 195 Bytes

Contents

class WithSingletonConstructor
  # @dynamic foo
  attr_reader :foo

  def initialize(foo:)
    @foo = foo
  end

  def self.create()
    new(foo: "hoge")
  end

  new(foo: "hoge")
  create()
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
steep-0.11.1 smoke/class/h.rb
steep-0.11.0 smoke/class/h.rb
steep-0.10.0 smoke/class/h.rb
steep-0.9.0 smoke/class/h.rb
steep-0.8.2 smoke/class/h.rb
steep-0.8.1 smoke/class/h.rb
steep-0.8.0 smoke/class/h.rb
steep-0.7.1 smoke/class/h.rb
steep-0.7.0 smoke/class/h.rb
steep-0.6.0 smoke/class/h.rb
steep-0.5.1 smoke/class/h.rb
steep-0.5.0 smoke/class/h.rb