summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-01-12 00:30:52 -0800
committerAndre Arko <andre@arko.net>2013-09-28 12:52:24 -0700
commitf1852ff9da5535d4148945ddeb0e7d1ea7479a58 (patch)
treebc6b6931138751b9d8817ad532cf04459d407925 /lib
parent5efd1c5f7e2e6a8baa80c1284579b561b63a912e (diff)
downloadbundler-f1852ff9da5535d4148945ddeb0e7d1ea7479a58.tar.gz
add Bundler::RubyVersion#host
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/ruby_version.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/ruby_version.rb b/lib/bundler/ruby_version.rb
index bf44278b46..5a11ee49f4 100644
--- a/lib/bundler/ruby_version.rb
+++ b/lib/bundler/ruby_version.rb
@@ -57,6 +57,10 @@ module Bundler
nil
end
end
+
+ def host
+ RbConfig::CONFIG["host"]
+ end
end
# A subclass of RubyVersion that implements version,