From: ueno Date: Wed, 10 Aug 2005 11:23:47 +0000 (+0000) Subject: Added example. X-Git-Tag: channel-coding-branchpoint~178 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc0488420f63f7c132c8ece2fb8540f9f6bf4dfc;p=elisp%2Friece.git Added example. --- diff --git a/lisp/riece-ruby.el b/lisp/riece-ruby.el index 5acdc3f..c1a4f33 100644 --- a/lisp/riece-ruby.el +++ b/lisp/riece-ruby.el @@ -22,6 +22,18 @@ ;; 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"