Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/org/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:44 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/org/ob-ruby.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\"\207" [require ob ob-ref ob-comint ob-eval add-to-list org-babel-tangle-lang-exts ("ruby" . "rb")] 3) (defvar org-babel-default-header-args:ruby nil) #@49 Name of command to use for executing ruby code. (defvar org-babel-ruby-command "ruby" (#$ . 782)) #@100 Execute a block of Ruby code with Babel. This function is called by `org-babel-execute-src-block'. (defalias 'org-babel-execute:ruby #[(body params) "\306\307\310\"A!\307\311\"A\307\312\"A\313\f\314!#\315\n\235\203C \316\317!rq\210\320\216\321\322!\210 c\210\323\307\324\"A!\210\325 +\202I \326 \n$\327\330\307\331\"A\307\332\"A\"\330\307\333\"A\307\334\"A\"#-\207" [params session result-params result-type body full-body org-babel-ruby-initiate-session assoc :session :result-params :result-type org-babel-expand-body:generic org-babel-variable-assignments:ruby "xmp" generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1=#:temp-buffer buffer-name kill-buffer] 2)) require rcodetools xmp :xmp-option buffer-string org-babel-ruby-evaluate org-babel-reassemble-table org-babel-pick-name :colname-names :colnames :rowname-names :rownames #1# result] 8 (#$ . 887)]) #@72 Prepare SESSION according to the header arguments specified in PARAMS. (defalias 'org-babel-prep-session:ruby #[(session params) "\304!\305 !\212\306 \307\216\310!\204 \311\312\"\210q\210\313\314!\210db\210\315\316\n\"\210+*\207" [session params var-lines save-match-data-internal org-babel-ruby-initiate-session org-babel-variable-assignments:ruby match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) org-babel-comint-buffer-livep error "Buffer %s does not exist or has no process" sit-for 0.5 mapc #[(var) "c\210\302\303\304\"\210\305 !\210\306\307!\210db\207" [var session comint-send-input nil t org-babel-comint-wait-for-output sit-for 0.1] 3]] 3 (#$ . 1807)]) #@25 Load BODY into SESSION. (defalias 'org-babel-load-session:ruby #[(session body params) "\305 \306\216\307 \n\"rq\210\310\311p!!b\210\312\f!c\210)+\207" [#1=#:wconfig session params buffer body current-window-configuration ((set-window-configuration #1#)) org-babel-prep-session:ruby process-mark get-buffer-process org-babel-chomp] 3 (#$ . 2533)]) #@65 Return list of ruby statements assigning the block's variables. (defalias 'org-babel-variable-assignments:ruby #[(params) "\301\302\301\303\304\305\"\"\"\207" [params mapcar #[(pair) "\301\302@\303A!#\207" [pair format "%s=%s" org-babel-ruby-var-to-ruby] 5] cdr org-babel-get-header :var] 7 (#$ . 2891)]) #@133 Convert VAR into a ruby variable. Convert an elisp value into a string of ruby source code specifying a variable of the same value. (defalias 'org-babel-ruby-var-to-ruby #[(var) "<\203 \301\302\303\304#\305Q\207\306\307\"\207" [var "[" mapconcat org-babel-ruby-var-to-ruby ", " "]" format "%S"] 5 (#$ . 3206)]) #@166 Convert RESULTS into an appropriate elisp value. If RESULTS look like a table, then convert them into an Emacs-lisp table, otherwise return the results as a string. (defalias 'org-babel-ruby-table-or-string #[(results) "\301!\207" [results org-babel-script-escape] 2 (#$ . 3528)]) #@137 Initiate a ruby session. If there is not a current inferior-process-buffer in SESSION then create one. Return the initialized session. (defalias 'org-babel-ruby-initiate-session #[(&optional session params) "\303\230?\205. \304\305!\210\306 \307\216\310\311\"\210p*\312\n!\203&