Class: SiriButton
- Inherits:
-
SiriObject
- Object
- SiriObject
- SiriButton
- Defined in:
- lib/siri_objects.rb
Instance Attribute Summary
Attributes inherited from SiriObject
Instance Method Summary collapse
-
#initialize(text = "Button Text", commands = []) ⇒ SiriButton
constructor
A new instance of SiriButton.
Methods inherited from SiriObject
Constructor Details
#initialize(text = "Button Text", commands = []) ⇒ SiriButton
Returns a new instance of SiriButton.
123 124 125 126 127 |
# File 'lib/siri_objects.rb', line 123 def initialize(text="Button Text", commands=[]) super("Button", "com.apple.ace.assistant") self.text = text self.commands = commands end |