lib/spnet/ports/command_out_port.rb
# If linked, return the result of calling the connected CommandInPort object's
# exec_command method. Otherwise, return false.
If linked, return the result of calling the connected CommandInPort object's
exec_command method. Otherwise, return false.
If linked return the result of calling the connected CommandInPort object ' s exec_command method . Otherwise return false .
def exec_command command, data = nil
    unless @link.nil?
      return @link.to.exec_command(command, data)
    end
    return false
  end
def exec_command command , data = nil unless @link . nil? return @link . to . exec_command ( command , data ) end return false end
If linked, return the result of calling the connected CommandInPort object's
exec_command method.
If linked return the result of calling the connected CommandInPort object ' s exec_command method .
command
data