--- !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