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
-
#read ⇒ Object
:nodoc:.
- #write ⇒ Object
Instance Method Details
#read ⇒ Object
:nodoc:
30 |
# File 'lib/cod/pipe.rb', line 30 def read; first; end |
#write ⇒ Object
31 |
# File 'lib/cod/pipe.rb', line 31 def write; last; end |