官术网_书友最值得收藏!

1. Writing and Running Ruby Programs

Overview

By the end of this chapter, you will be able to use the Interactive Ruby Shell (IRB) to write Ruby programs; execute Ruby code with a Ruby interpreter using Ruby (.rb) files; implement variables, literals, and constants in Ruby programs; use standard data types, such as numbers, Booleans, and strings, in Ruby programs; execute basic arithmetic operations on integer and floating-point numbers, implement string concatenation and interpolation in Ruby programs.

This chapter introduces the basics of Ruby and serves as a firm foundation to build the complex code that you will encounter later in the book.

主站蜘蛛池模板: 河津市| 普定县| 兰溪市| 轮台县| 犍为县| 阿鲁科尔沁旗| 郸城县| 徐汇区| 名山县| 安新县| 铁岭市| 日照市| 锦屏县| 留坝县| 东乡| 内江市| 广东省| 微博| 万盛区| 东源县| 伊川县| 陵水| 宝坻区| 舟山市| 噶尔县| 桂平市| 安图县| 兴文县| 鱼台县| 泰和县| 确山县| 高清| 辽中县| 凌源市| 武鸣县| 淄博市| 徐闻县| 十堰市| 阜平县| 江华| 云林县|