Method: Forematter::Commands::Unset#run
- Defined in:
- lib/forematter/commands/unset.rb
#run ⇒ Object
11 12 13 14 15 16 |
# File 'lib/forematter/commands/unset.rb', line 11 def run files_with(field).each do |file| file.delete(field) file.write end end |