Class: Goru::Routines::Channels::Readable

Inherits:
Goru::Routines::Channel show all
Defined in:
lib/goru/routines/channels/readable.rb

Overview

public

Instance Attribute Summary

Attributes inherited from Goru::Routine

#debug, #error, #state, #status

Instance Method Summary collapse

Methods inherited from Goru::Routines::Channel

#channel_closed, #channel_read, #channel_received, #initialize

Methods inherited from Goru::Routine

#adopted, #call, #finished, #initialize, #reactor=, #ready?, #result, #sleep, #update

Constructor Details

This class inherits a constructor from Goru::Routines::Channel

Instance Method Details

#readObject

public


13
14
15
# File 'lib/goru/routines/channels/readable.rb', line 13

def read
  @channel.read
end