Method: AmberComponent::Base#initialize
- Defined in:
- lib/amber_component/base.rb
#initialize(**kwargs) ⇒ Base
Returns a new instance of Base.
145 146 147 148 149 150 151 |
# File 'lib/amber_component/base.rb', line 145 def initialize(**kwargs) run_callbacks :initialize do next if bind_props(kwargs) bind_instance_variables(kwargs) end end |