Sha256: 938a4f107500ddba809f9589f2bc75741b2e2d797250ac34afc6104f3eae9572

Contents?: true

Size: 296 Bytes

Versions: 9

Compression:

Stored size: 296 Bytes

Contents

# This provides an alias for RbConfig to Config for versions of Ruby older then
# version 1.8.5. This allows us to use RbConfig in place of the older Config in
# our code and still be compatible with at least Ruby 1.8.1.
require 'rbconfig'

unless defined? ::RbConfig
  ::RbConfig = ::Config
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
facter-2.0.1.rc3 lib/facter/util/monkey_patches.rb
facter-2.0.1.rc3-x86-mingw32 lib/facter/util/monkey_patches.rb
facter-2.0.1.rc3-universal-darwin lib/facter/util/monkey_patches.rb
facter-2.0.1.rc2 lib/facter/util/monkey_patches.rb
facter-2.0.1.rc2-x86-mingw32 lib/facter/util/monkey_patches.rb
facter-2.0.1.rc2-universal-darwin lib/facter/util/monkey_patches.rb
facter-2.0.1.rc1 lib/facter/util/monkey_patches.rb
facter-2.0.1.rc1-x86-mingw32 lib/facter/util/monkey_patches.rb
facter-2.0.1.rc1-universal-darwin lib/facter/util/monkey_patches.rb