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

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.

主站蜘蛛池模板: 古浪县| 沿河| 衡阳县| 三门峡市| 会宁县| 通渭县| 芜湖县| 中西区| 卓尼县| 清镇市| 博白县| 诏安县| 囊谦县| 营山县| 元江| 秦安县| 浙江省| 黄山市| 搜索| 富源县| 洪湖市| 香格里拉县| 射阳县| 林周县| 河津市| 罗源县| 旺苍县| 嘉义市| 伽师县| 开阳县| 安庆市| 乳源| 新安县| 郴州市| 巴林右旗| 辉县市| 太仓市| 秦皇岛市| 修武县| 化隆| 新干县|