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

Ruby

Ruby is a simple, dynamic programming language created by Yukihiro Matsumoto (also known as Matz). The language is a blend of features provided in different languages such as Perl, Smalltalk, Lisp, and so on. Ruby was developed with an aim to provide a new language that balanced functional programming with imperative programming.

As mentioned earlier, you don't have to be a hardcore Ruby developer. Following are the things that we'll cover in this chapter, which will allow you to make the best use of Chef:

  • Variables and types
  • Basic operations
  • Conditional statements and loops
  • Blocks
  • Arrays and hashes

Yeah, we just need to learn about these five components of the language and we are all set to conquer the world of Chef.

However, before we go ahead with our journey into the fascinating world of Ruby, let's take a quick look at IRB. This is one of those tools that can really help you while playing with small Ruby code snippets.

主站蜘蛛池模板: 甘谷县| 新蔡县| 白银市| 景洪市| 博湖县| 梁山县| 江川县| 红河县| 阳朔县| 田阳县| 桓台县| 祁门县| 临安市| 离岛区| 枣阳市| 宣化县| 贺州市| 胶州市| 旬阳县| 贵德县| 汝南县| 从江县| 文安县| 安阳市| 澄迈县| 牟定县| 普陀区| 兴宁市| 聂荣县| 富民县| 凤凰县| 遂川县| 平遥县| 井研县| 湾仔区| 金溪县| 晋宁县| 新和县| 图们市| 安乡县| 弥渡县|