Class: OkComputer::RubyVersionCheck

Inherits:
Check
  • Object
show all
Defined in:
lib/ok_computer/built_in_checks/ruby_version_check.rb

Constant Summary

Constants inherited from Check

Check::CheckNotDefined

Instance Attribute Summary

Attributes inherited from Check

#failure_occurred, #message, #registrant_name, #time

Instance Method Summary collapse

Methods inherited from Check

#<=>, #clear, #mark_failure, #mark_message, #run, #success?, #to_json, #to_text, #with_benchmarking

Instance Method Details

#checkObject



3
4
5
# File 'lib/ok_computer/built_in_checks/ruby_version_check.rb', line 3

def check
  mark_message "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
end