We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bb1b2 commit 5949eb3Copy full SHA for 5949eb3
lib/resque.rb
@@ -115,17 +115,12 @@ def to_s
115
"Resque Client connected to #{redis_id}"
116
end
117
118
+ attr_accessor :inline
119
+
120
# If 'inline' is true Resque will call #perform method inline
121
# without queuing it into Redis and without any Resque callbacks.
122
# The 'inline' is false Resque jobs will be put in queue regularly.
- def inline?
- @inline
123
- end
124
- alias_method :inline, :inline?
125
-
126
- def inline=(inline)
127
- @inline = inline
128
+ alias :inline? :inline
129
130
#
131
# queue manipulation
0 commit comments