Method: OkComputer::AppVersionCheck#check

Defined in:
lib/ok_computer/built_in_checks/app_version_check.rb

#checkObject

Public: Return the application version



9
10
11
12
13
14
# File 'lib/ok_computer/built_in_checks/app_version_check.rb', line 9

def check
  mark_message "Version: #{version}"
rescue UnknownRevision
  mark_failure
  mark_message "Unable to determine version"
end