ob-ruby: only require inf-ruby when absolutely necessary

* lisp/ob-ruby.el (org-babel-expand-body:ruby): removed requirement of
  inf-ruby
This commit is contained in:
Eric Schulte 2010-09-02 09:03:08 -06:00
parent fc49c1ec96
commit 2d6238ae55

View file

@ -54,7 +54,6 @@
(defun org-babel-expand-body:ruby (body params &optional processed-params)
"Expand BODY according to PARAMS, return the expanded body."
(require 'inf-ruby)
(let ((vars (nth 1 (or processed-params (org-babel-process-params params)))))
(concat
(mapconcat ;; define any variables