Module: TokiCLI::Status::ClassMethods
- Included in:
- TokiCLI::Status
- Defined in:
- lib/TokiCLI/status.rb
Instance Method Summary collapse
- #analysing(obj) ⇒ Object
- #canceled ⇒ Object
- #file_saved(path) ⇒ Object
- #next_launch_with_names ⇒ Object
- #no_data ⇒ Object
- #no_plist ⇒ Object
- #please_scan ⇒ Object
- #scanning ⇒ Object
- #version(version) ⇒ Object
- #wtf ⇒ Object
Instance Method Details
#analysing(obj) ⇒ Object
28 29 30 |
# File 'lib/TokiCLI/status.rb', line 28 def analysing(obj) "Analyzing #{obj} ...\n" end |
#canceled ⇒ Object
8 9 10 |
# File 'lib/TokiCLI/status.rb', line 8 def canceled "\nCanceled.\n\n" end |
#file_saved(path) ⇒ Object
36 37 38 |
# File 'lib/TokiCLI/status.rb', line 36 def file_saved(path) "\nFile saved in #{path}\n\n" end |
#next_launch_with_names ⇒ Object
40 41 42 |
# File 'lib/TokiCLI/status.rb', line 40 def next_launch_with_names "Starting with next launch, TokiCLI will display apps names. Run `toki scan` again to update the apps list.\n\n" end |
#no_data ⇒ Object
24 25 26 |
# File 'lib/TokiCLI/status.rb', line 24 def no_data "\nNo data for this request.\n\n" end |
#no_plist ⇒ Object
20 21 22 |
# File 'lib/TokiCLI/status.rb', line 20 def no_plist "Unable to read the file, skipping...\n" end |
#please_scan ⇒ Object
44 45 46 |
# File 'lib/TokiCLI/status.rb', line 44 def please_scan "\nPlease run `toki scan` to populate/refresh the applications names database.\n\n" end |
#scanning ⇒ Object
32 33 34 |
# File 'lib/TokiCLI/status.rb', line 32 def scanning "\nScanning applications bundles to find their names.\n\n" end |
#version(version) ⇒ Object
12 13 14 |
# File 'lib/TokiCLI/status.rb', line 12 def version(version) "\n-- TokiCLI --\n\nVersion:\t#{version}\nUrl:\t\thttp://github.com/ericdke/TokiCLI\n\n" end |
#wtf ⇒ Object
16 17 18 |
# File 'lib/TokiCLI/status.rb', line 16 def wtf "\nAn error occurred! Goodbye, and thanks for all the fish.\n\n" end |