class Cleanroom::InaccessibleError

Public Class Methods

new(name, instance) click to toggle source
# File lib/cleanroom/errors.rb, line 21
def initialize(name, instance)
  @name, @instance = name, instance
end

Public Instance Methods

to_s() click to toggle source
# File lib/cleanroom/errors.rb, line 25
    def to_s
<<-EOH.gsub(/\r?\n/, ' ')
Undefined local variable or method `#{@name}' for #{@instance}. It may have
been removed for the purposes of evaluating the DSL or for added security. If
you feel you have reached this message in error, please open an issue.
EOH
    end