method
append
v1_9_3_392 -
Show latest stable
- Class:
Shell::CommandProcessor
append(to, filter)public
No documentation available.
# File lib/shell/command-processor.rb, line 318
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