From bc0488420f63f7c132c8ece2fb8540f9f6bf4dfc Mon Sep 17 00:00:00 2001 From: ueno Date: Wed, 10 Aug 2005 11:23:47 +0000 Subject: [PATCH] Added example. --- lisp/riece-ruby.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" -- 1.7.10.4