Exception: Xhive::Mapper::InvalidPolicyError
- Inherits:
-
StandardError
- Object
- StandardError
- Xhive::Mapper::InvalidPolicyError
- Defined in:
- app/models/xhive/mapper.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidPolicyError
constructor
A new instance of InvalidPolicyError.
- #message ⇒ Object
Constructor Details
#initialize(name) ⇒ InvalidPolicyError
Returns a new instance of InvalidPolicyError.
82 83 84 |
# File 'app/models/xhive/mapper.rb', line 82 def initialize(name) @name = name end |
Instance Method Details
#message ⇒ Object
86 87 88 |
# File 'app/models/xhive/mapper.rb', line 86 def "#{@name} must implement a ::call method" end |