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.1.10 lib/rvm/environment/info.rb
rvm-1.1.9 lib/rvm/environment/info.rb
rvm-1.1.8 lib/rvm/environment/info.rb
rvm-1.1.7 lib/rvm/environment/info.rb
rvm-1.1.6 lib/rvm/environment/info.rb
rvm-1.1.5 lib/rvm/environment/info.rb
rvm-1.1.4 lib/rvm/environment/info.rb
rvm-1.1.3 lib/rvm/environment/info.rb
rvm-1.1.2 lib/rvm/environment/info.rb
rvm-1.1.1 lib/rvm/environment/info.rb
rvm-1.1.0 lib/rvm/environment/info.rb
rvm-1.0.23 lib/rvm/environment/info.rb
rvm-1.0.22 lib/rvm/environment/info.rb
rvm-1.0.21 lib/rvm/environment/info.rb
rvm-1.0.20 lib/rvm/environment/info.rb