Sha256: 49a15298819178f6da25b70aa9834077e18786e4252ce8cedc83966bbc969642
Contents?: true
Size: 597 Bytes
Versions: 3
Compression:
Stored size: 597 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
3 entries across 3 versions & 3 rubygems
Version | Path |
---|---|
brynary-features2cards-0.3.0.0 | lib/features2cards/platform.rb |
kosmas58-features2cards-0.3.92 | lib/features2cards/platform.rb |
features2cards-0.3.1 | lib/features2cards/platform.rb |