Class: Andromeda::Kit::Targeting

Inherits:
Plan show all
Defined in:
lib/andromeda/kit.rb

Direct Known Subclasses

Broadc, Switch

Instance Attribute Summary collapse

Attributes inherited from Plan

#error_level, #log, #marker, #nick, #trace_enter, #trace_exit

Attributes inherited from Impl::ProtoPlan

#guide, #id

Instance Method Summary collapse

Methods inherited from Plan

#initialize_copy, #on_enter, #pool, #tap, #to_short_s

Methods inherited from Impl::ProtoPlan

#>>, #current_name, #current_scope, #data_key, #data_tag, #data_val, #dest, #entry, #init_guide, #initialize_copy, #key_label, #key_spot, #map_data, #mute, name_spot, #post_data, #post_to, #public_spot, #selects?, #signal_name?, signal_names, #signal_names, signal_spot, spot_attr, #spot_attr_name?, spot_attr_names, #spot_attr_names, spot_meth, #spot_meth_name?, #spot_meth_names, spot_meth_names, #spot_name?, spot_names, #spot_names, #tags, #to_short_s, #via

Methods included from Impl::To_S

short_s, #to_s, #to_short_s

Methods inherited from Impl::ConnectorBase

#post, #post_local, #start

Constructor Details

#initialize(config = {}) ⇒ Targeting

Returns a new instance of Targeting.



82
83
84
85
# File 'lib/andromeda/kit.rb', line 82

def initialize(config = {})
  super config
  @targets ||= {}
end

Instance Attribute Details

#targetsObject

Returns the value of attribute targets.



80
81
82
# File 'lib/andromeda/kit.rb', line 80

def targets
  @targets
end

Instance Method Details

#target_valuesObject



87
# File 'lib/andromeda/kit.rb', line 87

def target_values ; t = targets ; t.values rescue t end