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