Sha256: d0492d5369a56d60a67dcf651558f90e1791d6957098e46676daaf1d35fbf5eb

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

require 'ronin/model/model'

require 'model/classes/basic_model'

class CustomModel < BasicModel

  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-0.3.0 spec/model/classes/custom_model.rb