new(sh, pattern) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/shell/builtin-command.rb, line 57
    def initialize(sh, pattern)
      super sh

      @pattern = pattern
      Thread.critical = true
      back = Dir.pwd
      begin
        Dir.chdir @shell.cwd
        @files = Dir[pattern]
      ensure
        Dir.chdir back
        Thread.critical = false
      end
    end
Register or log in to add new notes.