Class: ChoronSupport::Props::Base

Inherits:
Object
  • Object
show all
Includes:
Attributes
Defined in:
lib/choron_support/props/base.rb

Instance Method Summary collapse

Methods included from Attributes

#as_props

Constructor Details

#initialize(model, params = {}) ⇒ 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