Method: Kanagata::Util#merge_attributes
- Defined in:
- lib/kanagata/util.rb
#merge_attributes(config_attributes, args_attributes) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/kanagata/util.rb', line 14 def merge_attributes(config_attributes, args_attributes) args_attributes.each do |value| k, v = value.split(':') config_attributes[k] = v end config_attributes end |