forked from mirrors/org-mode
ob-ruby.el: allow specification of ruby command w/header arg
b-ruby.el: Use the :ruby header arg * lisp/ob-ruby.el (org-babel-execute:ruby): Locally set `org-babel-ruby-command' using a header argument. TINYCHANGE
This commit is contained in:
parent
752c466a63
commit
3ce495cc44
|
@ -74,6 +74,9 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(cdr (assq :session params))))
|
||||
(result-params (cdr (assq :result-params params)))
|
||||
(result-type (cdr (assq :result-type params)))
|
||||
(org-babel-ruby-command
|
||||
(or (cdr (assq :ruby params))
|
||||
org-babel-ruby-command))
|
||||
(full-body (org-babel-expand-body:generic
|
||||
body params (org-babel-variable-assignments:ruby params)))
|
||||
(result (if (member "xmp" result-params)
|
||||
|
|
Loading…
Reference in New Issue