method
append
v1_8_7_330 -
Show latest stable
- Class:
Shell::CommandProcessor
append(to, filter)public
No documentation available.
# File lib/shell/command-processor.rb, line 286
def append(to, filter)
case to
when String
AppendFile.new(@shell, to, filter)
when IO
AppendIO.new(@shell, to, filter)
else
Shell.Fail Error::CantApplyMethod, "append", to.class
end
end