Added example.
authorDaiki Ueno <ueno@unixuser.org>
Wed, 10 Aug 2005 11:23:47 +0000 (11:23 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Wed, 10 Aug 2005 11:23:47 +0000 (11:23 +0000)
lisp/riece-ruby.el

index 5acdc3f..c1a4f33 100644 (file)
 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 ;; Boston, MA 02111-1307, USA.
 
 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 ;; Boston, MA 02111-1307, USA.
 
+;;; Commentary:
+
+;; (riece-ruby-execute "t1" "sleep 30")
+;;
+;; (riece-ruby-execute "t2" "1 + 1")
+;;
+;; (riece-ruby-inspect "t1")
+;; => ((OK nil) nil "running")
+;;
+;; (riece-ruby-inspect "t2")
+;; => ((OK nil) "2" "finished")
+
 ;;; Code:
 
 (defvar riece-ruby-command "ruby"
 ;;; Code:
 
 (defvar riece-ruby-command "ruby"