Methods
E
N
Class Public methods
new(sh, filename)
# File lib/shell/builtin-command.rb, line 133
def initialize(sh, filename)
  super sh
  @to_filename = filename
end
Instance Public methods
each(rs = nil)
# File lib/shell/builtin-command.rb, line 138
def each(rs = nil)
  to = @shell.open(@to_filename, "w")
  begin
    super{|l| to << l; yield l}
  ensure
    to.close
  end
end