Skip to content

Commit 024edfb

Browse files
committed
small style improvement in ImmediateExecutor
1 parent d2d160b commit 024edfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent/executor/immediate_executor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class ImmediateExecutor
44
def post(*args, &task)
55
raise ArgumentError.new('no block given') unless block_given?
66
task.call(*args)
7-
return true
7+
true
88
end
99

1010
def <<(task)

0 commit comments

Comments
 (0)