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
bolt-0.17.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.16.4 vendored/facter/lib/facter/rubyversion.rb
bolt-0.16.3 vendored/facter/lib/facter/rubyversion.rb
bolt-0.16.2 vendored/facter/lib/facter/rubyversion.rb
bolt-0.16.1 vendored/facter/lib/facter/rubyversion.rb
bolt-0.16.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.15.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.14.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.13.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.12.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.11.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.10.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.9.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.8.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.7.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.6.1 vendored/facter/lib/facter/rubyversion.rb
bolt-0.6.0 vendored/facter/lib/facter/rubyversion.rb
bolt-0.5.1 vendored/facter/lib/facter/rubyversion.rb
bolt-0.5.0 vendored/facter/lib/facter/rubyversion.rb
facter-2.5.1 lib/facter/rubyversion.rb