Module: Dima::Init
- Included in:
- DateConfig, Html::AbstractForm, Html::Action, Html::Field, Html::Node, NumberConfig
- Defined in:
- lib/dima.rb
Instance Method Summary collapse
Instance Method Details
#initialize(h = {}) ⇒ Object
5 6 7 8 9 |
# File 'lib/dima.rb', line 5 def initialize(h = {}) if h.is_a? Hash h.each { |k,v| instance_variable_set("@#{k}",v) } end end |