Exception: AuditModel::ColumnNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- AuditModel::ColumnNotFoundError
- Defined in:
- lib/generators/audit_model/column_not_found_error.rb
Instance Method Summary collapse
-
#initialize(info) ⇒ ColumnNotFoundError
constructor
A new instance of ColumnNotFoundError.
Constructor Details
#initialize(info) ⇒ ColumnNotFoundError
Returns a new instance of ColumnNotFoundError.
3 4 5 |
# File 'lib/generators/audit_model/column_not_found_error.rb', line 3 def initialize(info) super("The column #{info[:column]} doesn't exist in #{info[:klass]}!") end |