Module: ArrayAttributes::Concerns::StringAttributes
- Included in:
- ArrayAttributes
- Defined in:
- lib/array_attributes/concerns/string_attributes.rb
Instance Method Summary collapse
Instance Method Details
#string_array_attributes(attrs, opts = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/array_attributes/concerns/string_attributes.rb', line 6 def string_array_attributes(attrs, opts = {}) attrs.each do |attribute| get_raw_value(attribute) assign_raw_value(attribute, opts) end end |