Class: Ekispert::Point::Prefecture
- Inherits:
-
EkispertBase
- Object
- EkispertBase
- Ekispert::Point::Prefecture
- Defined in:
- lib/ekispert/point/prefecture.rb
Defined Under Namespace
Classes: Name
Instance Attribute Summary collapse
-
#name_list ⇒ Object
Returns the value of attribute name_list.
Instance Method Summary collapse
-
#initialize(element) ⇒ Prefecture
constructor
A new instance of Prefecture.
- #name ⇒ Object
Methods included from Util
Constructor Details
#initialize(element) ⇒ Prefecture
6 7 8 9 |
# File 'lib/ekispert/point/prefecture.rb', line 6 def initialize(element) @name_list = [] super(element) end |
Instance Attribute Details
#name_list ⇒ Object
Returns the value of attribute name_list.
4 5 6 |
# File 'lib/ekispert/point/prefecture.rb', line 4 def name_list @name_list end |
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/ekispert/point/prefecture.rb', line 11 def name @name_list[0].text end |