Sha256: c4074ed1203096ee08a41f3e8bc28248a597b8b449102d7c2b5d637021328a8f

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

class Datapipes
  module Basics
    class Triple < Tube
      def run(data)
        [data, data, data]
      end

      def accept?(data)
        data.is_a? Integer and data > 3
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datapipes-0.0.4 lib/datapipes/basics/triple.rb
datapipes-0.0.3 lib/datapipes/basics/triple.rb
datapipes-0.0.2 lib/datapipes/basics/triple.rb
datapipes-0.0.1 lib/datapipes/basics/triple.rb