Class: Locomotive::Steam::ActionError

Inherits:
TemplateError
  • Object
show all
Defined in:
lib/locomotive/steam/errors.rb

Constant Summary

Constants inherited from TemplateError

TemplateError::LINES_RANGE

Instance Attribute Summary collapse

Attributes inherited from TemplateError

#original_backtrace, #source

Instance Method Summary collapse

Methods inherited from TemplateError

#backtrace, #code_lines

Constructor Details

#initialize(error, script) ⇒ ActionError

Returns a new instance of ActionError.



106
107
108
# File 'lib/locomotive/steam/errors.rb', line 106

def initialize(error, script)
  super(error.message, nil, script, 0, error.backtrace)
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



104
105
106
# File 'lib/locomotive/steam/errors.rb', line 104

def action
  @action
end