Skip to content

Commit

Permalink
camelize > classify
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scott committed Oct 1, 2019
1 parent a502ab9 commit 27735c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_job/scheduler/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize(
)
@name = name
@interval = Interval.new interval
@job_class_name = class_name || "#{name.classify}Job"
@job_class_name = class_name || "#{name.camelize}Job"
@arguments = arguments
@mail = options[:mail]
@each = options[:each]
Expand Down

0 comments on commit 27735c3

Please sign in to comment.