Module: Filander::Cmd
Instance Method Summary collapse
Methods included from Base
#create_directory_for, #entries, #join_destination, #join_source, #report, #with_report
Instance Method Details
#cmd(command) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/filander/actions/cmd.rb', line 5 def cmd(command) report :execute, command unless Filander.behavior == :pretend system command end end |