class Integrative::Errors::IntegrationDefinitionMissingError

Public Class Methods

new(integrator, names) click to toggle source
# File lib/integrative/errors.rb, line 67
def initialize(integrator, names)
  message = "You tried to call `integrate` on a class #{integrator.name}" +
    " but this class doesn't have this integration." +
    " add the following line to the class #{integrator.name}:" +
    " 'integrates :#{names.join(', :')}'"
  super(message, integrator)
end