Exception: Leftovers::FileCollector::NodeProcessor::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/leftovers/file_collector/node_processor/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, node) ⇒ Error

Returns a new instance of Error.



9
10
11
12
# File 'lib/leftovers/file_collector/node_processor/error.rb', line 9

def initialize(message, node)
  super(message)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



7
8
9
# File 'lib/leftovers/file_collector/node_processor/error.rb', line 7

def node
  @node
end