- Comprehensive Ruby Programming
- Jordan Hudgens
- 105字
- 2021-07-02 21:13:22
Using variables in Ruby

Imagine that you want to send a letter to a friend across the country. Prior to the days of email you would write the letter and place it inside an envelope. Now, the envelope is not the letter itself, instead, envelopes simply hold the letters and allow them to be carried to their destination. In the same way, variables are like envelopes. They store the following:
- Words (also called strings)
- Integers
- Methods
- Collections
The variables themselves are the storage mechanisms for data in Ruby programs. They allow developers to store information in the code and then retrieve the information later on.
推薦閱讀
- Spring Boot開發與測試實戰
- Node.js 10實戰
- FreeSWITCH 1.8
- Oracle從新手到高手
- Rust Cookbook
- Python貝葉斯分析(第2版)
- 算法訓練營:提高篇(全彩版)
- Haskell Data Analysis Cookbook
- NoSQL數據庫原理
- Building Wireless Sensor Networks Using Arduino
- Spring Boot實戰
- Emotional Intelligence for IT Professionals
- Android Game Programming by Example
- GO語言編程從入門到實踐
- Visual Basic 開發從入門到精通