Sha256: c534f4c21209c1511b8ef8b11b83e4673408ac2d068009fb30197243d777e22a

Contents?: true

Size: 231 Bytes

Versions: 11

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

class SampleModel
  def initialize(name: nil, age: nil)
    @name = name
    @age  = age
  end

  protected

  attr_reader :name

  private

  attr_reader :age
end

class OtherModel < SampleModel
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sinclair-1.16.0 spec/support/sample_model.rb
sinclair-1.15.0 spec/support/sample_model.rb
sinclair-1.14.2 spec/support/sample_model.rb
sinclair-1.14.1 spec/support/sample_model.rb
sinclair-1.14.0 spec/support/sample_model.rb
sinclair-1.13.0 spec/support/sample_model.rb
sinclair-1.12.1 spec/support/sample_model.rb
sinclair-1.12.0 spec/support/sample_model.rb
sinclair-1.11.0 spec/support/sample_model.rb
sinclair-1.10.0 spec/support/sample_model.rb
sinclair-1.9.0 spec/support/sample_model.rb