Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
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.1.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.