>(to) public

No documentation

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

Hide source
# File lib/shell/filter.rb, line 53
    def > (to)
      case to
      when String
        dst = @shell.open(to, "w")
        begin
          each(){|l| dst << l}
        ensure
          dst.close
        end
      when IO
        each(){|l| to << l}
      else
        Shell.Fail Error::CantApplyMethod, ">", to.class
      end
      self
    end
Register or log in to add new notes.