Current Path : /usr/local/share/ri/1.8/system/Shell/CommandProcessor/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Shell/CommandProcessor/foreach-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: fn comment: - !ruby/struct:SM::Flow::P body: File related commands Shell#foreach Shell#open Shell#unlink Shell#test - !ruby/struct:SM::Flow::P body: "-" - !ruby/struct:SM::Flow::P body: CommandProcessor#foreach(path, rs) - !ruby/struct:SM::Flow::VERB body: " path: String\n rs: String - record separator\n iterator\n Same as:\n File#foreach (when path is file)\n Dir#foreach (when path is directory)\n path is relative to pwd\n" full_name: Shell::CommandProcessor#foreach is_singleton: false name: foreach params: (path = nil, *rs) {|fn| ...} visibility: public