Yields:
5 6 7 8 9
# File 'lib/mark_facets/ruby/file.rb', line 5 def update(file_path) file = File.read(file_path) yield file File.open(file_path, 'w') {|f| f.write(file)} end