Sha256: e4289c5aa0e8b4d0b52773ee62cb83ceb5394815a317a8f2a709697754cc96f1

Contents?: true

Size: 322 Bytes

Versions: 75

Compression:

Stored size: 322 Bytes

Contents

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

  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
rvm-1.11.3.9 lib/rvm/environment/info.rb
rvm-1.11.3.8 lib/rvm/environment/info.rb
rvm-1.11.3.7 lib/rvm/environment/info.rb
rvm-1.11.3.6 lib/rvm/environment/info.rb
rvm-1.11.3.5 lib/rvm/environment/info.rb
rvm-1.11.3.4 lib/rvm/environment/info.rb
rvm-1.11.3.3 lib/rvm/environment/info.rb
rvm-1.11.3.2 lib/rvm/environment/info.rb
rvm-1.11.3.1 lib/rvm/environment/info.rb
rvm-1.11.3 lib/rvm/environment/info.rb
rvm-1.9.2 lib/rvm/environment/info.rb
rvm-1.9.1 lib/rvm/environment/info.rb
rvm-1.9.0 lib/rvm/environment/info.rb
rvm-1.8.6 lib/rvm/environment/info.rb
rvm-1.8.5 lib/rvm/environment/info.rb
rvm-1.8.4 lib/rvm/environment/info.rb
rvm-1.8.3 lib/rvm/environment/info.rb
rvm-1.8.2 lib/rvm/environment/info.rb
rvm-1.8.1 lib/rvm/environment/info.rb
rvm-1.7.0 lib/rvm/environment/info.rb