Module: TokiCLI::Status::ClassMethods

Included in:
TokiCLI::Status
Defined in:
lib/TokiCLI/status.rb

Instance Method Summary collapse

Instance Method Details

#analysing(obj) ⇒ Object



28
29
30
# File 'lib/TokiCLI/status.rb', line 28

def analysing(obj)
  "Analyzing #{obj} ...\n"
end

#canceledObject



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_namesObject



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_dataObject



24
25
26
# File 'lib/TokiCLI/status.rb', line 24

def no_data
  "\nNo data for this request.\n\n"
end

#no_plistObject



20
21
22
# File 'lib/TokiCLI/status.rb', line 20

def no_plist
  "Unable to read the file, skipping...\n"
end

#please_scanObject



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

#scanningObject



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

#wtfObject



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