Flowdock

class Sort < Cat

  def initialize(sh, *filenames)
    super
  end

  def each(rs = nil)
    ary = []
    super{|l|       ary.push l}
    for l in ary.sort!
    yield l
    end
  end

end

Show files where this class is defined (1 file)
Register or log in to add new notes.