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.1-x86-mingw32 lib/facter/rubyplatform.rb
facter-2.5.1-x64-mingw32 lib/facter/rubyplatform.rb
facter-2.5.1-universal-darwin lib/facter/rubyplatform.rb
facter-2.5.0 lib/facter/rubyplatform.rb
facter-2.5.0-x86-mingw32 lib/facter/rubyplatform.rb
facter-2.5.0-x64-mingw32 lib/facter/rubyplatform.rb
facter-2.5.0-universal-darwin lib/facter/rubyplatform.rb
facter-2.4.6 lib/facter/rubyplatform.rb
facter-2.4.6-x86-mingw32 lib/facter/rubyplatform.rb
facter-2.4.6-x64-mingw32 lib/facter/rubyplatform.rb
facter-2.4.6-universal-darwin lib/facter/rubyplatform.rb
facter-2.4.5 lib/facter/rubyplatform.rb
facter-2.4.5-x86-mingw32 lib/facter/rubyplatform.rb
facter-2.4.5-x64-mingw32 lib/facter/rubyplatform.rb
facter-2.4.5-universal-darwin lib/facter/rubyplatform.rb
facter-2.4.4 lib/facter/rubyplatform.rb
facter-2.4.4-x86-mingw32 lib/facter/rubyplatform.rb
facter-2.4.4-x64-mingw32 lib/facter/rubyplatform.rb
facter-2.4.4-universal-darwin lib/facter/rubyplatform.rb
facter-2.4.3 lib/facter/rubyplatform.rb