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-0.2.4 lib/stages/select.rb
stages-0.2.3 lib/stages/select.rb
stages-0.2.2 lib/stages/select.rb
stages-0.2.1 lib/stages/select.rb
stages-0.2.0 lib/stages/select.rb
stages-0.1.2 lib/stages/select.rb
stages-0.1.1 lib/stages/select.rb
stages-0.1.0 lib/stages/select.rb
stages-0.0.1 lib/stages/select.rb