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

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.

主站蜘蛛池模板: 垫江县| 武义县| 黄平县| 新昌县| 弋阳县| 祁阳县| 鲜城| 西藏| 宁南县| 且末县| 榆中县| 天柱县| 湖州市| 景宁| 宁明县| 如皋市| 宝坻区| 康定县| 新巴尔虎右旗| 泰顺县| 康马县| 凤台县| 贵南县| 洛阳市| 新竹县| 广宁县| 崇信县| 龙门县| 台山市| 遂宁市| 夏河县| 斗六市| 锡林郭勒盟| 松滋市| 堆龙德庆县| 蕉岭县| 公主岭市| 峨眉山市| 浙江省| 石屏县| 清河县|