- 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.
推薦閱讀
- DBA攻堅指南:左手Oracle,右手MySQL
- OpenDaylight Cookbook
- 編程的修煉
- Mastering Ember.js
- Mastering Concurrency in Go
- ASP.NET Core 2 and Vue.js
- iOS開發實戰:從零基礎到App Store上架
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第3版)
- The DevOps 2.4 Toolkit
- 網站構建技術
- VMware虛擬化技術
- Visual C++開發入行真功夫
- PySide 6/PyQt 6快速開發與實戰
- Natural Language Processing with Java and LingPipe Cookbook
- 編程改變生活:用Python提升你的能力(進階篇·微課視頻版)