Method: CommandExec::FieldHelper#pid

Defined in:
lib/command_exec/field_helper.rb

#pid(value) ⇒ Array

Set the pid of the command

Parameters:

  • value (Number, String)

    Set the pid of the command.

Returns:

  • (Array)


214
215
216
217
218
# File 'lib/command_exec/field_helper.rb', line 214

def pid(value)
  @pid[0] = value.to_s

  @pid
end