TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 231

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 231', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 3. Built-in Library Reference We will now explore the core functionality that is built into the standard Ruby interpreter. You will find descriptions of more than 800 built-in methods in 42 classes and modules. Topics covered include predefined variables predefined global constants and built-in functions. Top Ruby in a Nutshell By Yukihiro Matsumoto Chapter 3. Built-in Library Reference Predefined Variables Ruby s predefined built-in variables affect the behavior of the entire program so their use in libraries isn t recommended. The values in most predefined variables can be accessed by alternative means. The last exception object raised. The exception object can also be accessed using in rescue clause. @ The stack backtrace for the last exception raised. The stack backtrace information can retrieved by Exception backtrace method of the last exception. The input record separator newline by default . gets readline etc. take their input record separator as optional argument. The output record separator nil by default . The output separator between the arguments to print and Array join nil by default . You can specify separator explicitly to Array join. The default separator for split nil by default . You can specify separator explicitly for String split. . The number of the last line read from the current input file. Equivalent to . Synonym for ARGF. Synonym for defout. 0 The name of the current Ruby program being executed. The of the current Ruby program being executed. The exit status of the last process terminated. Synonym for LOAD_PATH. DEBUG True if the -d or - -debug command-line option is specified. defout The destination output for print and printf stdout by default . F The variable that receives the output from split when -a is specified. This variable is set if the -a command-line option is specified along with the -p or -n option. FILENAME The name of the file currently being read from ARGF. Equivalent .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.