File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -1193,22 +1193,18 @@ def handler_enabled?
1193
1193
# value can be one of the Handler::constants.
1194
1194
#
1195
1195
def handler ( *args )
1196
- return unless (
1197
- payload_instance &&
1198
- handler_enabled?
1199
- )
1196
+ return unless payload_instance
1197
+ return unless handler_enabled?
1200
1198
payload_instance . handler ( *args )
1201
1199
end
1202
1200
1203
1201
#
1204
1202
# Break out of the session wait loop (WfsDelay)
1205
1203
#
1206
1204
def interrupt_handler
1207
- return unless (
1208
- payload_instance &&
1209
- handler_enabled? &&
1210
- payload_instance . respond_to? ( :interrupt_wait_for_session )
1211
- )
1205
+ return unless payload_instance
1206
+ return unless handler_enabled?
1207
+ return unless payload_instance . respond_to? ( :interrupt_wait_for_session )
1212
1208
payload_instance . interrupt_wait_for_session ( )
1213
1209
end
1214
1210
You can’t perform that action at this time.
0 commit comments