Exception: Marty::DeloreanRule::ComputeError

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/marty/delorean_rule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, stack, input, section) ⇒ ComputeError

Returns a new instance of ComputeError.



68
69
70
71
72
73
# File 'app/models/marty/delorean_rule.rb', line 68

def initialize(msg, stack, input, section)
  @input = input
  @section = section
  super(msg)
  set_backtrace stack
end

Instance Attribute Details

#inputObject (readonly)

Returns the value of attribute input.



66
67
68
# File 'app/models/marty/delorean_rule.rb', line 66

def input
  @input
end

#sectionObject (readonly)

Returns the value of attribute section.



66
67
68
# File 'app/models/marty/delorean_rule.rb', line 66

def section
  @section
end