Class: Tengine::Job::ElementSelectorNotation::NotFound

Inherits:
Errors::NotFound
  • Object
show all
Defined in:
lib/tengine/job/element_selector_notation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#jobnetObject (readonly)

Returns the value of attribute jobnet.



66
67
68
# File 'lib/tengine/job/element_selector_notation.rb', line 66

def jobnet
  @jobnet
end

#notationObject (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

#messageObject



71
72
73
# File 'lib/tengine/job/element_selector_notation.rb', line 71

def message
  "Tengine Jobnet Element not found by selector #{notation.inspect} in #{@jobnet.name_path}"
end