Skip to content
Browse files

extract -> extract_args

  • Loading branch information...
1 parent 944ae6d commit be30ad65f160b96d3030cbb379088200e9cdc9f0 @mental committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/concurrent/joins/join.rb
View
4 lib/concurrent/joins/join.rb
@@ -67,7 +67,7 @@ def match?(mask, channels)
( !@counts or @range.all? { |i| channels[i].size >= @counts[i] } )
end
- def extract(channels)
+ def extract_args(channels)
@indices.map { |i| channels[i].shift }
end
@@ -117,7 +117,7 @@ def write(obj, channel, value)
@mask |= 1 << channel
chord = @chords.find { |c| c.match?(@mask, @channels) }
if chord
- args = chord.extract(@channels)
+ args = chord.extract_args(@channels)
@mask &= ~chord.cleared_mask(@channels)
end
end

0 comments on commit be30ad6

Please sign in to comment.
Something went wrong with that request. Please try again.