class FFWD::Channel::Sub
Attributes
block[R]
channel[R]
Public Class Methods
new(channel, block)
click to toggle source
# File lib/ffwd/channel.rb, line 24 def initialize channel, block @channel = channel @block = block end
Public Instance Methods
unsubscribe()
click to toggle source
# File lib/ffwd/channel.rb, line 29 def unsubscribe @channel.unsubscribe self end