lib/rulebow/shellutils.rb
# If FileUtils responds to a missing method, then call it.
#
If FileUtils responds to a missing method, then call it.
If FileUtils responds to a missing method then call it .
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
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
If FileUtils responds to a missing method, then call it.
If FileUtils responds to a missing method then call it .
s
<not_specific>
a
<not_specific>
b
<not_specific>