Method: OkComputer::AppVersionCheck#check
- Defined in:
- lib/ok_computer/built_in_checks/app_version_check.rb
#check ⇒ Object
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 "Version: #{version}" rescue UnknownRevision mark_failure "Unable to determine version" end |