lib/rvm/environment/info.rb in rvm-1.0.19 vs lib/rvm/environment/info.rb in rvm-1.0.20

- old
+ new

@@ -1,9 +1,13 @@ require 'yaml' module RVM class Environment + # Return a Hash with the same output that command: + # + # $ rvm info + # def info(*ruby_strings) ruby_string = normalize_ruby_string(ruby_strings) res = rvm(:info, ruby_string) res.successful? ? YAML.load(res.stdout) : {} end