- 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.
推薦閱讀
- Getting Started with CreateJS
- Swift 3 New Features
- Learn Scala Programming
- Visual C++串口通信技術詳解(第2版)
- Visual C
- Java設計模式及實踐
- JSP開發案例教程
- Android Native Development Kit Cookbook
- 零基礎入門學習Python
- Mastering JavaScript Design Patterns(Second Edition)
- RealSenseTM互動開發實戰
- JavaScript程序設計:基礎·PHP·XML
- Android Studio Cookbook
- Anaconda數據科學實戰
- HTML5移動Web開發