class MongoidNestedFields::Errors::UnexpectedType
Public Class Methods
new(type, field)
click to toggle source
Calls superclass method
# File lib/mongoid_nested_fields/errors/unexpected_type.rb, line 6 def initialize(type, field) super("Unexpected type #{type} in field #{field}") end