- Comprehensive Ruby Programming
- Jordan Hudgens
- 45字
- 2021-07-02 21:13:22
Using puts
In this lesson, we are going to learn the different options available to print messages to the Ruby console. The first way is to use the puts method. Consider this example:
puts "A string"
The preceding line will display the content, A string.
推薦閱讀
- C/C++算法從菜鳥到達(dá)人
- Visual C++數(shù)字圖像模式識別技術(shù)詳解
- 實(shí)戰(zhàn)Java程序設(shè)計(jì)
- OpenNI Cookbook
- Banana Pi Cookbook
- Mastering AndEngine Game Development
- 軟件架構(gòu):Python語言實(shí)現(xiàn)
- Spring Boot企業(yè)級項(xiàng)目開發(fā)實(shí)戰(zhàn)
- Apache Kafka Quick Start Guide
- 軟件品質(zhì)之完美管理:實(shí)戰(zhàn)經(jīng)典
- Odoo 10 Implementation Cookbook
- Android Sensor Programming By Example
- Python應(yīng)用開發(fā)技術(shù)
- Flink核心技術(shù):源碼剖析與特性開發(fā)
- Clojure Web Development Essentials