Sha256: 937ff05f2cae6f8c67975ba2e899ff933198e9968e97e217c88732b230abb6b5

Contents?: true

Size: 257 Bytes

Versions: 6

Compression:

Stored size: 257 Bytes

Contents

module Cmds
  # stupid little wrapper around IO.pipe that can have some extra info
  # attached to it
  class Pipe
    attr_reader :name, :sym, :r, :w

    def initialize name, sym
      @name = name
      @sym = sym
      @r, @w = IO.pipe
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cmds-0.1.5 lib/cmds/pipe.rb
cmds-0.1.4 lib/cmds/pipe.rb
cmds-0.1.3 lib/cmds/pipe.rb
cmds-0.1.2 lib/cmds/pipe.rb
cmds-0.1.1 lib/cmds/pipe.rb
cmds-0.1.0 lib/cmds/pipe.rb