异常:Mongoid::Errors::InverseNotFound
- 继承:
-
MongoidError
- 对象
- StandardError
- MongoidError
- Mongoid::Errors::InverseNotFound
- 定义于:
- lib/mongoid/errors/inverse_not_Found.rb
Overview
在需要时找不到 inverse_of 定义时触发。
常量摘要
从MongoidError继承的常量
实例属性摘要
从MongoidError继承的属性
实例方法摘要折叠
-
#initialize (base, name, klass, inverse) ⇒ InverseNotFound
构造函数
然后创建新的错误。
从MongoidError继承的方法
构造函数详情
#initialize (base, name, klass, inverse) ⇒ InverseNotFound
然后创建新的错误。
19 20 21 22 23 24 25 26 |
# File 'lib/mongoid/errors/inverse_not_Found.rb', line 19 def 初始化(基础, 名称, klass, 反向) 超( ( " inverse_not_Found ", { 基础: 基础, 名称: 名称, 类: klass, 反向: 反向 } ) ) end |