Sha256: 51a72799b185ec26bedd734a8f3bf3b2347542d1f773d3b8187d894303a9fb11

Contents?: true

Size: 694 Bytes

Versions: 9

Compression:

Stored size: 694 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

9 entries across 9 versions & 1 rubygems

Version Path
rvm-1.11.3.9 lib/rvm/shell.rb
rvm-1.11.3.8 lib/rvm/shell.rb
rvm-1.11.3.7 lib/rvm/shell.rb
rvm-1.11.3.6 lib/rvm/shell.rb
rvm-1.11.3.5 lib/rvm/shell.rb
rvm-1.11.3.4 lib/rvm/shell.rb
rvm-1.11.3.3 lib/rvm/shell.rb
rvm-1.11.3.2 lib/rvm/shell.rb
rvm-1.11.3.1 lib/rvm/shell.rb