Sha256: c27c13a10e9546d31bb9215c3c937056f2f42175cb6d60f3d52be4f793a97083

Contents?: true

Size: 693 Bytes

Versions: 20

Compression:

Stored size: 693 Bytes

Contents

module RVM
  # Provides Generic access to a more ruby-like shell interface.
  # For more details, see AbstractWrapper.
  module Shell

    require 'rvm/shell/utility'
    require 'rvm/shell/abstract_wrapper'
    require 'rvm/shell/single_shot_wrapper'
    # Current unimplemented
    #require 'rvm/shell/persisting_wrapper'
    # File missing
    #require 'rvm/shell/test_wrapper'
    require 'rvm/shell/result'

    # Returns the default shell wrapper class to use
    def self.default_wrapper
      @@default_wrapper ||= SingleShotWrapper
    end

    # Sets the default shell wrapper class to use.
    def self.default_wrapper=(wrapper)
      @@default_wrapper = wrapper
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rvm-1.11.3 lib/rvm/shell.rb
rvm-1.9.2 lib/rvm/shell.rb
rvm-1.9.1 lib/rvm/shell.rb
rvm-1.9.0 lib/rvm/shell.rb
rvm-1.8.6 lib/rvm/shell.rb
rvm-1.8.5 lib/rvm/shell.rb
rvm-1.8.4 lib/rvm/shell.rb
rvm-1.8.3 lib/rvm/shell.rb
rvm-1.8.2 lib/rvm/shell.rb
rvm-1.8.1 lib/rvm/shell.rb
rvm-1.7.0 lib/rvm/shell.rb
rvm-1.6.32 lib/rvm/shell.rb
rvm-1.6.31 lib/rvm/shell.rb
rvm-1.6.30 lib/rvm/shell.rb
rvm-1.6.29 lib/rvm/shell.rb
rvm-1.6.27 lib/rvm/shell.rb
rvm-1.6.24 lib/rvm/shell.rb
rvm-1.6.23 lib/rvm/shell.rb
rvm-1.6.22 lib/rvm/shell.rb
rvm-1.6.21 lib/rvm/shell.rb