Class: Tengine::Job::ElementSelectorNotation::NotFound
- Inherits:
-
Errors::NotFound
- Object
- Errors::NotFound
- Tengine::Job::ElementSelectorNotation::NotFound
- Defined in:
- lib/tengine/job/element_selector_notation.rb
Instance Attribute Summary collapse
-
#jobnet ⇒ Object
readonly
Returns the value of attribute jobnet.
-
#notation ⇒ Object
readonly
Returns the value of attribute notation.
Instance Method Summary collapse
-
#initialize(jobnet, notation) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Constructor Details
#initialize(jobnet, notation) ⇒ NotFound
Returns a new instance of NotFound.
67 68 69 |
# File 'lib/tengine/job/element_selector_notation.rb', line 67 def initialize(jobnet, notation) @jobnet, @notation = jobnet, notation end |
Instance Attribute Details
#jobnet ⇒ Object (readonly)
Returns the value of attribute jobnet.
66 67 68 |
# File 'lib/tengine/job/element_selector_notation.rb', line 66 def jobnet @jobnet end |
#notation ⇒ Object (readonly)
Returns the value of attribute notation.
66 67 68 |
# File 'lib/tengine/job/element_selector_notation.rb', line 66 def notation @notation end |
Instance Method Details
#message ⇒ Object
71 72 73 |
# File 'lib/tengine/job/element_selector_notation.rb', line 71 def "Tengine Jobnet Element not found by selector #{notation.inspect} in #{@jobnet.name_path}" end |