Method: Fire::ShellUtils#method_missing
- Defined in:
- lib/fire/shellutils.rb
#method_missing(s, *a, &b) ⇒ Object
If FileUtils responds to a missing method, then call it.
64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/fire/shellutils.rb', line 64 def method_missing(s, *a, &b) if FileUtils.respond_to?(s) if $DRYRUN FileUtils::DryRun.__send__(s, *a, &b) else FileUtils::Verbose.__send__(s, *a, &b) end else super(s, *a, &b) end end |