Methods

Safemode::SecurityError

Public Class Methods

new(type, value = nil) click to toggle source
# File lib/safemode/exceptions.rb, line 11
def initialize(type, value = nil)
  type = @@types[type] if @@types.include?(type)
  super "Safemode doesn't allow to access '#{type}'" + (value ? " on #{value}" : '')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.