Exception: PBCore::BaseIsNotPBCoreElement
- Defined in:
- lib/pbcore/errors.rb
Instance Method Summary collapse
-
#initialize(included_module:, base:) ⇒ BaseIsNotPBCoreElement
constructor
A new instance of BaseIsNotPBCoreElement.
Constructor Details
#initialize(included_module:, base:) ⇒ BaseIsNotPBCoreElement
Returns a new instance of BaseIsNotPBCoreElement.
37 38 39 |
# File 'lib/pbcore/errors.rb', line 37 def initialize(included_module:, base:) super("#{included_module} should only be included in PBCore::Element, but was included in #{base} (ancestors are: #{base.ancestors.join(', ')})") end |