Sha256: a64aff8d12debd62dda46d3a1125f6ca53029edd7f09e7f3200b0a30675ed809

Contents?: true

Size: 170 Bytes

Versions: 7

Compression:

Stored size: 170 Bytes

Contents

require_relative '../lib/ProtectedConstructor'

class Klass
  include ProtectedConstructor

  attr_reader :id

  # Protected
  def initialize(id)
    @id = id
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ProtectedConstructor-2.0.0 spec/klass.rb
ProtectedConstructor-1.0.5 spec/klass.rb
ProtectedConstructor-1.0.4 spec/klass.rb
ProtectedConstructor-1.0.3 spec/klass.rb
ProtectedConstructor-1.0.2 spec/klass.rb
ProtectedConstructor-1.0.1 spec/klass.rb
ProtectedConstructor-1.0.0 spec/klass.rb