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.1.1 lib/rvm/shell.rb
rvm-1.1.0 lib/rvm/shell.rb
rvm-1.0.23 lib/rvm/shell.rb
rvm-1.0.22 lib/rvm/shell.rb
rvm-1.0.21 lib/rvm/shell.rb
rvm-1.0.20 lib/rvm/shell.rb
rvm-1.0.19 lib/rvm/shell.rb
rvm-1.0.18 lib/rvm/shell.rb
rvm-1.0.17 lib/rvm/shell.rb
rvm-1.0.15 lib/rvm/shell.rb
gemrage-1.0.0 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.4.1 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.4.0 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.3.2 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.3.1 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.3.0 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.2.0 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
gemrage-0.1.2 vendor/ruby/1.8/gems/rvm-1.0.14/lib/rvm/shell.rb
rvm-1.0.14 lib/rvm/shell.rb
rvm-1.0.13 lib/rvm/shell.rb