Class: ShareLocationAction
- Inherits:
-
LocationAction
- Object
- MacroObject
- Action
- LocationAction
- ShareLocationAction
- Defined in:
- lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb
Overview
Category: Location
Instance Attribute Summary
Attributes inherited from Action
Attributes inherited from MacroObject
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ ShareLocationAction
constructor
A new instance of ShareLocationAction.
- #to_s(colour: false) ⇒ Object (also: #to_summary)
Methods inherited from Action
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ ShareLocationAction
Returns a new instance of ShareLocationAction.
2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 |
# File 'lib/ruby-macrodroid.rb', line 2820 def initialize(h={}) super() = { email: '', variable: {:m_stringValue=>"", :m_name=>"", :m_decimalValue=>0.0, :isLocal=>true, :m_booleanValue=>false, :excludeFromLog=>false, :m_intValue=>0, :m_type=>2}, sim_id: 0, output_channel: 5, old_variable_format: true } super(.merge h) end |
Instance Method Details
#to_s(colour: false) ⇒ Object Also known as: to_summary
2838 2839 2840 |
# File 'lib/ruby-macrodroid.rb', line 2838 def to_s(colour: false) 'ShareLocationAction ' + @h.inspect end |