Class: AreaCN::Province
Instance Attribute Summary
Attributes inherited from Area
#children, #code, #name, #parent
Instance Method Summary collapse
Methods inherited from Area
#<=>, #children_codes, #children_names, #city?, #district?, #initialize, #inspect, #parent_code, #province?, #to_hash, #to_json
Constructor Details
This class inherits a constructor from AreaCN::Area
Instance Method Details
#ancestors ⇒ Object
61 62 63 |
# File 'lib/area_cn/area.rb', line 61 def ancestors [self] end |