Exception: Cleanroom::InaccessibleError
- Defined in:
- lib/cleanroom/errors.rb
Instance Method Summary collapse
-
#initialize(name, instance) ⇒ InaccessibleError
constructor
A new instance of InaccessibleError.
- #to_s ⇒ Object
Constructor Details
#initialize(name, instance) ⇒ InaccessibleError
21 22 23 |
# File 'lib/cleanroom/errors.rb', line 21 def initialize(name, instance) @name, @instance = name, instance end |
Instance Method Details
#to_s ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/cleanroom/errors.rb', line 25 def to_s "Undefined local variable or method `\#{@name}' for \#{@instance}. It may have\nbeen removed for the purposes of evaluating the DSL or for added security. If\nyou feel you have reached this message in error, please open an issue.\n".gsub(/\r?\n/, ' ') end |