Class: Forematter::Commands::Unset
- Inherits:
-
Forematter::CommandRunner
- Object
- Cri::CommandRunner
- Forematter::CommandRunner
- Forematter::Commands::Unset
- Defined in:
- lib/forematter/commands/unset.rb
Instance Method Summary collapse
Methods inherited from Forematter::CommandRunner
Instance Method Details
#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 |