Exception: AcidicJob::InvalidMethodError

Inherits:
Error
  • Object
show all
Defined in:
lib/acidic_job/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(step) ⇒ InvalidMethodError

Returns a new instance of InvalidMethodError.



97
98
99
100
# File 'lib/acidic_job/errors.rb', line 97

def initialize(step)
  super
  @step = step
end

Instance Method Details

#messageObject



102
103
104
# File 'lib/acidic_job/errors.rb', line 102

def message
  "step method cannot expect arguments: #{@step.inspect}"
end