Sha256: c2814152e17ac8949b3bdc5ed6ef8e9a593d388890932a223cee40a22cdc15bd

Contents?: true

Size: 126 Bytes

Versions: 29

Compression:

Stored size: 126 Bytes

Contents

module Stages
  class Select < Stage 
    def handle_value(value)
      output(value) if @block.call(value)
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
stages-1.2.1 lib/stages/select.rb
stages-1.2.0 lib/stages/select.rb
stages-1.1.5 lib/stages/select.rb
stages-1.1.2 lib/stages/select.rb
stages-1.1.1 lib/stages/select.rb
stages-1.0.1 lib/stages/select.rb
stages-1.0.0 lib/stages/select.rb
stages-0.4.1 lib/stages/select.rb
stages-0.4.0 lib/stages/select.rb
stages-0.3.4 lib/stages/select.rb
stages-0.3.3 lib/stages/select.rb
stages-0.3.2 lib/stages/select.rb
stages-0.3.1 lib/stages/select.rb
stages-0.3.0 lib/stages/select.rb
stages-0.2.10 lib/stages/select.rb
stages-0.2.9 lib/stages/select.rb
stages-0.2.8 lib/stages/select.rb
stages-0.2.7 lib/stages/select.rb
stages-0.2.6 lib/stages/select.rb
stages-0.2.5 lib/stages/select.rb