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.0.11 lib/rvm/shell.rb
rvm-1.0.10 lib/rvm/shell.rb
rvm-1.0.9 lib/rvm/shell.rb
rvm-1.0.8 lib/rvm/shell.rb
rvm-1.0.7 lib/rvm/shell.rb
rvm-1.0.6 lib/rvm/shell.rb
rvm-1.0.5 lib/rvm/shell.rb
rvm-1.0.4 lib/rvm/shell.rb
rvm-1.0.3 lib/rvm/shell.rb
rvm-1.0.2 lib/rvm/shell.rb
rvm-1.0.1 lib/rvm/shell.rb
rvm-1.0.0 lib/rvm/shell.rb
rvm-0.1.47 lib/rvm/shell.rb
rvm-0.1.46 lib/rvm/shell.rb
rvm-0.1.45 lib/rvm/shell.rb
rvm-0.1.44 lib/rvm/shell.rb
rvm-0.1.43 lib/rvm/shell.rb
rvm-0.1.42 lib/rvm/shell.rb