Class: Province
- Inherits:
-
Object
- Object
- Province
- Defined in:
- lib/china_district_code/models/province.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
2 3 4 |
# File 'lib/china_district_code/models/province.rb', line 2 def code @code end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/china_district_code/models/province.rb', line 2 def name @name end |