Class: Forematter::Commands::Set
- Inherits:
-
Forematter::CommandRunner
- Object
- Cri::CommandRunner
- Forematter::CommandRunner
- Forematter::Commands::Set
- Defined in:
- lib/forematter/commands/set.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/set.rb', line 11 def run files.each do |file| file[field] = value file.write end end |