Skip to content

Commit 7f9bda1

Browse files
Brian Donovandefunkt
authored andcommitted
Fix some typos.
1 parent 10775db commit 7f9bda1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/resque.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def before_fork=(before_fork)
8282
end
8383

8484
# The `after_fork` hook will be run in the child process and is passed
85-
# the current job. Any changes you make, therefor, will only live as
86-
# long as the job currently being processes.
85+
# the current job. Any changes you make, therefore, will only live as
86+
# long as the job currently being processed.
8787
#
8888
# Call with a block to set the hook.
8989
# Call with no arguments to return the hook.
@@ -119,7 +119,7 @@ def pop(queue)
119119
decode redis.lpop("queue:#{queue}")
120120
end
121121

122-
# Returns an int representing the size of a queue.
122+
# Returns an integer representing the size of a queue.
123123
# Queue name should be a string.
124124
def size(queue)
125125
redis.llen("queue:#{queue}").to_i

0 commit comments

Comments
 (0)