lib/wire/resource/network_injection.rb
# calls helper executable with correct +action+
# and given +command_arr+ array
calls helper executable with correct +action+
and given +command_arr+ array
calls helper executable with correct + action + and given + command_arr + array
def with_helper(action, params, options = '')
        dbg_param = ($log.level == Logger::DEBUG ? '--debug' : '')
        LocalExecution.with(@executables[:network],
                            [action, dbg_param, options, '--', params].flatten,
                            { :b_sudo => false, :b_shell => false }) do |exec_obj|
          yield exec_obj
        end
      end
def with_helper ( action , params , options = '' ) dbg_param = ( $log . level == Logger :: DEBUG ? '--debug' : '' ) LocalExecution . with ( @executables [ :network ] , [ action , dbg_param , options , '--' , params ] . flatten , { :b_sudo => false , :b_shell => false } ) do | exec_obj | yield exec_obj end end
calls helper executable with correct +action+
and given +command_arr+ array
calls helper executable with correct + action + and given + command_arr + array
# puts "#{@executables[:network]} #{action} --debug -- #{params.join(' ')}"
action
<not_specific>
params
<not_specific>
options
<not_specific>