Source: show | on GitHub
# File lib/shell/builtin-command.rb, line 50 def initialize(sh, *filenames) super sh @cat_files = filenames end
# File lib/shell/builtin-command.rb, line 55 def each(rs = nil) if @cat_files.empty? super else for src in @cat_files @shell.foreach(src, rs){|l| yield l} end end end