Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
Shell::BuiltInCommand
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
# File shell/builtin-command.rb, line 101 def initialize(sh, io, filter) super sh @input = filter @io = io end
# File shell/builtin-command.rb, line 107 def input=(filter) @input.input=filter for l in @input @io << l end end
This page was generated for Ruby 2.0.0
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.0.