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