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

Using puts

In this lesson, we are going to learn the different options available to print messages to the Ruby console. The first way is to use the puts method. Consider this example:

puts "A string" 

The preceding line will display the content, A string.

主站蜘蛛池模板: 图木舒克市| 钦州市| 宜阳县| 香港| 琼海市| 军事| 通辽市| 乌拉特后旗| 龙南县| 广昌县| 蒙阴县| 山东省| 静安区| 廊坊市| 龙海市| 南汇区| 将乐县| 陈巴尔虎旗| 霸州市| 万山特区| 金堂县| 兴和县| 武隆县| 郧西县| 奎屯市| 中牟县| 博湖县| 宁都县| 来安县| 商都县| 惠东县| 吐鲁番市| 吉安县| 屯昌县| 维西| 南皮县| 桂阳县| 从化市| 香格里拉县| 武邑县| 定兴县|