Class: Ekispert::Information::Exit
- Inherits:
-
EkispertBase
- Object
- EkispertBase
- Ekispert::Information::Exit
- Defined in:
- lib/ekispert/information/exit.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#comment_list ⇒ Object
readonly
Returns the value of attribute comment_list.
-
#name_list ⇒ Object
readonly
Returns the value of attribute name_list.
Instance Method Summary collapse
- #comment ⇒ Object
-
#initialize(element) ⇒ Exit
constructor
A new instance of Exit.
- #name ⇒ Object
Methods included from Util
Constructor Details
#initialize(element) ⇒ Exit
Returns a new instance of Exit.
6 7 8 9 10 |
# File 'lib/ekispert/information/exit.rb', line 6 def initialize(element) @name_list = [] @comment_list = [] super(element) end |
Instance Attribute Details
#comment_list ⇒ Object (readonly)
Returns the value of attribute comment_list.
4 5 6 |
# File 'lib/ekispert/information/exit.rb', line 4 def comment_list @comment_list end |
#name_list ⇒ Object (readonly)
Returns the value of attribute name_list.
4 5 6 |
# File 'lib/ekispert/information/exit.rb', line 4 def name_list @name_list end |
Instance Method Details
#comment ⇒ Object
16 17 18 |
# File 'lib/ekispert/information/exit.rb', line 16 def comment @comment_list[0]&.text end |
#name ⇒ Object
12 13 14 |
# File 'lib/ekispert/information/exit.rb', line 12 def name @name_list[0]&.text end |