Sha256: 49c6024a8b94e338c4a2c7283497c8cb3aeb1097165cd001b9ec569ae76c9a9e

Contents?: true

Size: 237 Bytes

Versions: 99

Compression:

Stored size: 237 Bytes

Contents

# 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

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
facter-2.5.7 lib/facter/rubyversion.rb
facter-2.5.7-x86-mingw32 lib/facter/rubyversion.rb
facter-2.5.7-x64-mingw32 lib/facter/rubyversion.rb
facter-2.5.7-universal-darwin lib/facter/rubyversion.rb
facter-2.5.6-x86-mingw32 lib/facter/rubyversion.rb
facter-2.5.6-x64-mingw32 lib/facter/rubyversion.rb
facter-2.5.6-universal-darwin lib/facter/rubyversion.rb
facter-2.5.6 lib/facter/rubyversion.rb
facter-2.5.5-x86-mingw32 lib/facter/rubyversion.rb
facter-2.5.5-x64-mingw32 lib/facter/rubyversion.rb
facter-2.5.5-universal-darwin lib/facter/rubyversion.rb
facter-2.5.5 lib/facter/rubyversion.rb
facter-2.5.4-x86-mingw32 lib/facter/rubyversion.rb
facter-2.5.4-x64-mingw32 lib/facter/rubyversion.rb
facter-2.5.4-universal-darwin lib/facter/rubyversion.rb
facter-2.5.4 lib/facter/rubyversion.rb
bolt-0.24.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.23.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.22.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.21.8 vendored/facter/lib/facter/rubyversion.rb