Method: Lego::Model#initialize
- Defined in:
- lib/lego/model.rb
#initialize(attrs = {}) ⇒ Model
Returns a new instance of Model.
105 106 107 |
# File 'lib/lego/model.rb', line 105 def initialize(attrs={}) @attributes = attrs.freeze end |