Class: ChoronSupport::Props::Base
- Inherits:
-
Object
- Object
- ChoronSupport::Props::Base
- Includes:
- Attributes
- Defined in:
- lib/choron_support/props/base.rb
Instance Method Summary collapse
-
#initialize(model, params = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Attributes
Constructor Details
#initialize(model, params = {}) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/choron_support/props/base.rb', line 12 def initialize(model, params = {}) @model = model @params = params.to_h end |