Sha256: 87f5a3cfdb676a7d3734f6d0a92f111ab233227a928633bfaa704b17e606da4f
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
# Detect the platform we're running on so we can tweak behaviour # in various places. require 'rbconfig' module Features2Cards BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/features2cards') JRUBY = defined?(JRUBY_VERSION) IRONRUBY = Config::CONFIG['sitedir'] =~ /IronRuby/ WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/ WINDOWS_MRI = WINDOWS && !JRUBY && !IRONRUBY RAILS = defined?(Rails) RUBY_BINARY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']) RUBY_1_9 = RUBY_VERSION =~ /^1\.9/ end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
features2cards-0.4.0 | lib/features2cards/platform.rb |