eev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[eev] eeruby


From: rubikitch
Subject: [eev] eeruby
Date: Mon, 11 Jul 2005 17:00:30 -0000

Hi!

Recently, I created `eeruby' function.

;;;; [2005/06/07] eeruby
;; (eeruby "puts ARGV[0]")
(setq eeruby-file (ee-expand "$EEVTMPDIR/ee.rb"))
(setq eeruby-eevscript (format "ruby %s $*" eeruby-file))
(defun eeruby (s &optional e noeev)
  (interactive "r")
  (ee-write s e "" "" eeruby-file)
  (or noeev (eev eeruby-eevscript nil))
  (format "eeruby: wrote %s %s" eeruby-file (if noeev "" (format "and %s" 
ee-file))))
(eeb-define 'eeruby-bounded 'eeruby 'ee-delimiter-hash nil t t)

--
rubikitch





reply via email to

[Prev in Thread] Current Thread [Next in Thread]