Sha256: c315c378b531e4080c34c46d140fdc8157b8c9f2aa880b2513f27e8434ef0411

Contents?: true

Size: 242 Bytes

Versions: 95

Compression:

Stored size: 242 Bytes

Contents

# Fact: rubyplatform
#
# Purpose: Returns the platform of Ruby that facter is running under.
#
# Resolution: Returns the value of the `RUBY_PLATFORM` constant.
#
# Caveats:
#

Facter.add(:rubyplatform) do
  setcode { RUBY_PLATFORM.to_s }
end

Version data entries

95 entries across 95 versions & 2 rubygems

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