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.6.20 lib/rvm/shell.rb
rvm-1.6.19 lib/rvm/shell.rb
rvm-1.6.16 lib/rvm/shell.rb
rvm-1.6.13 lib/rvm/shell.rb
rvm-1.6.12 lib/rvm/shell.rb
rvm-1.6.11 lib/rvm/shell.rb
rvm-1.6.10 lib/rvm/shell.rb
rvm-1.6.9 lib/rvm/shell.rb
rvm-1.6.8 lib/rvm/shell.rb
rvm-1.6.7 lib/rvm/shell.rb
rvm-1.6.6 lib/rvm/shell.rb
rvm-1.6.5 lib/rvm/shell.rb
rvm-1.6.4 lib/rvm/shell.rb
rvm-1.6.3 lib/rvm/shell.rb
rvm-1.6.2 lib/rvm/shell.rb
rvm-1.5.2 lib/rvm/shell.rb
rvm-1.5.1 lib/rvm/shell.rb
rvm-1.5.0 lib/rvm/shell.rb
rvm-1.3.2 lib/rvm/shell.rb
rvm-1.3.1 lib/rvm/shell.rb