Class: City
- Inherits:
-
Object
- Object
- City
- Defined in:
- lib/china_district_code/models/city.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/city.rb', line 2 def code @code end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/china_district_code/models/city.rb', line 2 def name @name end |