Class: Things::App
- Inherits:
-
Reference::Base
- Object
- Reference::Base
- Things::App
- Extended by:
- Appscript
- Defined in:
- lib/things/app.rb
Instance Attribute Summary
Attributes inherited from Reference::Base
Class Method Summary collapse
-
.activate ⇒ Object
activate the app and bring it to front.
-
.instance ⇒ Object
get the singleton Application instance.
-
.instance! ⇒ Object
refresh the Application instance.
-
.lists ⇒ Object
get a collection of Lists.
Class Method Details
.activate ⇒ Object
activate the app and bring it to front
20 21 22 |
# File 'lib/things/app.rb', line 20 def self.activate instance!.activate end |
.instance ⇒ Object
get the singleton Application instance
5 6 7 |
# File 'lib/things/app.rb', line 5 def self.instance reference ||= app('Things') end |
.instance! ⇒ Object
refresh the Application instance
10 11 12 |
# File 'lib/things/app.rb', line 10 def self.instance! reference = app('Things') end |
.lists ⇒ Object
get a collection of Lists
15 16 17 |
# File 'lib/things/app.rb', line 15 def self.lists List end |