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

- (Object) execute!



248
249
250
251
# File 'lib/punchblock/component/output.rb', line 248

def execute!
  source.stopped_seeking!
  super
end

- (Object) rayo_attributes



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

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

- (Object) request!



243
244
245
246
# File 'lib/punchblock/component/output.rb', line 243

def request!
  source.seeking!
  super
end