D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
ruby
/
vendor_ruby
/
facter
/
Filename :
rubyversion.rb
back
Copy
# Fact: rubyversion # # Purpose: Returns the version of Ruby that facter is running under. # # Resolution: Returns the value of the `RUBY_VERSION` constant. # # Caveats: # Facter.add(:rubyversion) do setcode { RUBY_VERSION.to_s } end