Class: Ekispert::Course::Route::Line::Corporation
- Inherits:
-
EkispertBase
- Object
- EkispertBase
- Ekispert::Course::Route::Line::Corporation
- Defined in:
- lib/ekispert/course/route/line/corporation.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) ⇒ Corporation
constructor
A new instance of Corporation.
- #name ⇒ Object
Methods included from Util
Constructor Details
#initialize(element) ⇒ Corporation
Returns a new instance of Corporation.
8 9 10 11 |
# File 'lib/ekispert/course/route/line/corporation.rb', line 8 def initialize(element) @name_list = [] super(element) end |
Instance Attribute Details
#name_list ⇒ Object
Returns the value of attribute name_list.
6 7 8 |
# File 'lib/ekispert/course/route/line/corporation.rb', line 6 def name_list @name_list end |
Instance Method Details
#name ⇒ Object
13 14 15 |
# File 'lib/ekispert/course/route/line/corporation.rb', line 13 def name @name_list[0].text end |