Class: Cura::Event::Middleware::Aimer::TargetOption

Inherits:
Base
  • Object
show all
Defined in:
lib/cura/event/middleware/aimer/target_option.rb

Overview

Sets the event’s target to the component passed by an optional :target option.

Instance Method Summary collapse

Instance Method Details

#call(options = {}) ⇒ Object

Call this middleware.

Parameters:

  • options (#to_h) (defaults to: {})

Options Hash (options):



19
20
21
# File 'lib/cura/event/middleware/aimer/target_option.rb', line 19

def call(options={})
  super # Only here for documentation
end