In Files

  • shell/builtin-command.rb

Methods

Shell::AppendFile

Public Class Methods

new(sh, to_filename, filter) click to toggle source
 
               # File shell/builtin-command.rb, line 103
def initialize(sh, to_filename, filter)
  @file_name = to_filename
  io = sh.open(to_filename, "a")
  super(sh, io, filter)
end
            

Public Instance Methods

input=(filter) click to toggle source
 
               # File shell/builtin-command.rb, line 109
def input=(filter)
  begin
    super
  ensure
    @io.close
  end
end