class ActiveFolder::Model::ValidationError
Public Class Methods
new(attr, schema, msg = nil)
click to toggle source
Calls superclass method
# File lib/activefolder/model/errors.rb, line 18 def initialize(attr, schema, msg = nil) if msg then super msg else super("#{attr.inspect} does not match #{schema.inspect}") end end