Sha256: 28a3b7038a690601521491145f02cd273ed4afc5ad2431f9b2d183ae70367ed3

Contents?: true

Size: 799 Bytes

Versions: 78

Compression:

Stored size: 799 Bytes

Contents

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

    autoload :AbstractWrapper,   'rvm/shell/abstract_wrapper'
    autoload :SingleShotWrapper, 'rvm/shell/single_shot_wrapper'
    # Current unimplemented
    #autoload :PersistingWrapper, 'rvm/shell/persisting_wrapper'
    autoload :TestWrapper,       'rvm/shell/test_wrapper'
    autoload :Utility,           'rvm/shell/utility'
    autoload :Result,            '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

78 entries across 78 versions & 2 rubygems

Version Path
rvm-1.3.0 lib/rvm/shell.rb
rvm-1.2.9 lib/rvm/shell.rb
rvm-1.2.8 lib/rvm/shell.rb
rvm-1.2.7 lib/rvm/shell.rb
rvm-1.2.6 lib/rvm/shell.rb
rvm-1.2.5 lib/rvm/shell.rb
rvm-1.2.4 lib/rvm/shell.rb
rvm-1.2.3 lib/rvm/shell.rb
rvm-1.2.2 lib/rvm/shell.rb
rvm-1.1.12 lib/rvm/shell.rb
rvm-1.1.11 lib/rvm/shell.rb
rvm-1.1.10 lib/rvm/shell.rb
rvm-1.1.9 lib/rvm/shell.rb
rvm-1.1.8 lib/rvm/shell.rb
rvm-1.1.7 lib/rvm/shell.rb
rvm-1.1.6 lib/rvm/shell.rb
rvm-1.1.5 lib/rvm/shell.rb
rvm-1.1.4 lib/rvm/shell.rb
rvm-1.1.3 lib/rvm/shell.rb
rvm-1.1.2 lib/rvm/shell.rb