Class: Punchblock::Component::Output::Seek

Inherits:
Punchblock::CommandNode show all
Defined in:
lib/punchblock/component/output.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from RayoNode

#client, #connection, #original_component

Instance Method Summary collapse

Methods inherited from Punchblock::CommandNode

#initialize, #response, #response=

Methods inherited from RayoNode

#==, class_from_registration, from_xml, #inherit, #inspect, #rayo_children, register, #source, #to_rayo, #to_xml

Constructor Details

This class inherits a constructor from Punchblock::CommandNode

Instance Method Details

#execute!Object



259
260
261
262
# File 'lib/punchblock/component/output.rb', line 259

def execute!
  source.stopped_seeking!
  super
end

#rayo_attributesObject



264
265
266
# File 'lib/punchblock/component/output.rb', line 264

def rayo_attributes
  {'direction' => direction, 'amount' => amount}
end

#request!Object



254
255
256
257
# File 'lib/punchblock/component/output.rb', line 254

def request!
  source.seeking!
  super
end