Class: Barney::Share::StreamPair Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/barney/share.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (IO) in

The pipe which is used to read data.

Returns:

  • (IO)

    the current value of in



9
10
11
# File 'lib/barney/share.rb', line 9

def in
  @in
end

- (IO) out

The pipe which is used to write data.

Returns:

  • (IO)

    the current value of out



9
10
11
# File 'lib/barney/share.rb', line 9

def out
  @out
end

- (Fixnum) seq

The associated sequence number.

Returns:

  • (Fixnum)

    the current value of seq



9
10
11
# File 'lib/barney/share.rb', line 9

def seq
  @seq
end