Class: OkComputer::RubyVersionCheck
- Defined in:
- lib/ok_computer/built_in_checks/ruby_version_check.rb
Constant Summary
Constants inherited from Check
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
#check ⇒ Object
3 4 5 |
# File 'lib/ok_computer/built_in_checks/ruby_version_check.rb', line 3 def check "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" end |