Class: Ekispert::Course::Route::Line::Stop::Point::Prefecture
- Inherits:
-
EkispertBase
- Object
- EkispertBase
- Ekispert::Course::Route::Line::Stop::Point::Prefecture
- Defined in:
- lib/ekispert/course/route/line/stop/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
Returns a new instance of Prefecture.
10 11 12 13 |
# File 'lib/ekispert/course/route/line/stop/point/prefecture.rb', line 10 def initialize(element) @name_list = [] super(element) end |
Instance Attribute Details
#name_list ⇒ Object
Returns the value of attribute name_list.
8 9 10 |
# File 'lib/ekispert/course/route/line/stop/point/prefecture.rb', line 8 def name_list @name_list end |
Instance Method Details
#name ⇒ Object
15 16 17 |
# File 'lib/ekispert/course/route/line/stop/point/prefecture.rb', line 15 def name @name_list[0].text end |