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:
parent
fc49c1ec96
commit
2d6238ae55
|
@ -54,7 +54,6 @@
|
||||||
|
|
||||||
(defun org-babel-expand-body:ruby (body params &optional processed-params)
|
(defun org-babel-expand-body:ruby (body params &optional processed-params)
|
||||||
"Expand BODY according to PARAMS, return the expanded body."
|
"Expand BODY according to PARAMS, return the expanded body."
|
||||||
(require 'inf-ruby)
|
|
||||||
(let ((vars (nth 1 (or processed-params (org-babel-process-params params)))))
|
(let ((vars (nth 1 (or processed-params (org-babel-process-params params)))))
|
||||||
(concat
|
(concat
|
||||||
(mapconcat ;; define any variables
|
(mapconcat ;; define any variables
|
||||||
|
|
Loading…
Reference in New Issue