Skip to content

Commit

Permalink
use klass suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
markburns committed Jul 3, 2024
1 parent d16aa2a commit 12710c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interactify/with_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setup

# define aliases when the generate class name differs.
# i.e. when options are passed
unless defined?(:Job)
if this.klass_suffix.present?
const_set("Job", const_get(:"Job#{this.klass_suffix}"))
const_set("Async", const_get(:"Async#{this.klass_suffix}"))
end
Expand Down

0 comments on commit 12710c0

Please sign in to comment.