4 5 6
# File 'lib/seto/ext/io.rb', line 4 def sed(&block) Seto::Sed.new(self.each.with_index(1)).edit &block end