Class: CrowiModelBase
- Inherits:
-
Object
- Object
- CrowiModelBase
- Defined in:
- lib/crowi/client/model/crowi_model_base.rb
Overview
Crowi model base class
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ CrowiModelBase
constructor
Constractor.
Constructor Details
#initialize(params = {}) ⇒ CrowiModelBase
Constractor
5 6 7 8 9 |
# File 'lib/crowi/client/model/crowi_model_base.rb', line 5 def initialize(params = {}) params.each do |k,v| instance_variable_set(:"@#{k}", v) end end |