Class: Relisp::Process

Inherits:
Proxy show all
Defined in:
lib/relisp/type_conversion/editing_types.rb

Overview

A proxy to an Emacs process

Instance Attribute Summary

Attributes inherited from Proxy

#elisp_variable, #slave

Instance Method Summary collapse

Methods inherited from Proxy

from_elisp, #to_elisp

Constructor Details

#initialize(*args) ⇒ Process

args must be of the form (symbol, slave = Relisp.default_slave)

The symbol argument is considered to be the name of a pre-existing process in the slave process.



960
961
962
963
964
# File 'lib/relisp/type_conversion/editing_types.rb', line 960

def initialize(*args)
  super do 
    raise ArgumentError, "Cannot create Process using 'new' method."
  end
end

Instance Method Details

#exit_statusObject



974
975
976
# File 'lib/relisp/type_conversion/editing_types.rb', line 974

def exit_status
  call_on_self :process_exit_status
end

#nameObject



966
967
968
# File 'lib/relisp/type_conversion/editing_types.rb', line 966

def name
  call_on_self :process_name
end

#statusObject



970
971
972
# File 'lib/relisp/type_conversion/editing_types.rb', line 970

def status
  call_on_self :process_status
end