Sha256: 0dc3a80865976474a3bea86a6a3254e31a6c4c1ec50700f0f1a68ed10ecd5124

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

require 'ronin/model/model'
require_relative 'base_model'

class InheritedModel < BaseModel

  include Ronin::Model

  attr_reader :var

  def initialize(attributes={})
    super(attributes)

    @var = 2
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-1.5.1 spec/model/models/inherited_model.rb