Module: Cod::Pipe::SplitMethods

Defined in:
lib/cod/pipe.rb

Overview

A few methods that a pipe split must answer to. The split itself is basically an array instance; these methods add some calling safety and convenience.

Instance Method Summary collapse

Instance Method Details

#readObject

:nodoc:



30
# File 'lib/cod/pipe.rb', line 30

def read; first; end

#writeObject



31
# File 'lib/cod/pipe.rb', line 31

def write; last; end