lib/capitate/cap_ext/run_via.rb in capitate-0.2.11 vs lib/capitate/cap_ext/run_via.rb in capitate-0.2.13
- old
+ new
@@ -1,8 +1,10 @@
module Capitate::CapExt::RunVia
# Invoke command with current run_method setting.
#
+ # Chooses +sudo+ or +run+ based on <tt>:run_method</tt> setting.
+ #
# ==== Options
# +cmd+:: Command to run
# +options+:: Options (see invoke_command options)
#
def run_via(cmd, options = {}, &block)
\ No newline at end of file