Module: Errands::Receptors::Receptor::Track
- Included in:
- Errands::Receptors::Receptor
- Defined in:
- lib/errands/runner.rb
Instance Method Summary collapse
Instance Method Details
#track(v, r = nil) ⇒ Object
88 89 90 91 92 93 |
# File 'lib/errands/runner.rb', line 88 def track(v, r = nil) v.__send__ "instance_variable_#{r ? :set : :get}", *["@receptor_track", r].compact rescue => e my.merge!(data: v, error: :tracking_error) raise e end |