Method: Countrizable::ActiveRecord::Attributes#read
- Defined in:
- lib/countrizable/active_record/attributes.rb
#read(country_code, name) ⇒ Object
17 18 19 |
# File 'lib/countrizable/active_record/attributes.rb', line 17 def read(country_code, name) self[country_code][name.to_s] end |