Exception: Safemode::NoMethodError
- Defined in:
- lib/safemode/exceptions.rb
Instance Method Summary collapse
-
#initialize(method, jail, source = nil) ⇒ NoMethodError
constructor
A new instance of NoMethodError.
Constructor Details
#initialize(method, jail, source = nil) ⇒ NoMethodError
Returns a new instance of NoMethodError.
18 19 20 |
# File 'lib/safemode/exceptions.rb', line 18 def initialize(method, jail, source = nil) super "undefined method '#{method}' for #{jail}" + (source ? " (#{source})" : '') end |