class Configurator::OptionLoopError

Attributes

stack[RW]

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/configurator/errors.rb, line 46
def initialize(*args)
  @stack = []
  super
end

Public Instance Methods

to_s() click to toggle source
# File lib/configurator/errors.rb, line 51
def to_s
  "Loop detected in #{stack.first}. Request Stack: #{stack.join(' -> ')}"
end