Más contenido relacionado Similar a 20080730-WelcomeToLifeWithRuby (16) 20080730-WelcomeToLifeWithRuby13. ✓ 仕事 : Business
✓ 教育 : Education
✓ 研究 : Research
✓ 趣味 : Hobby
✓ and more
利用シーンの拡大
15. ✓ MRI
✓ Ruby 1.9
✓ JRuby
✓ Rubinius
✓ IronRuby
✓ MacRuby, MagRev, ...
処理系の多様化
50. The Ruby Way
Hal Fulton
翔泳社; 5,400円
プログラミングRuby 言語編
Dave Thomas, Chad Fowler, Andy Hunt
オーム社; 3,800円
Rubyのプログラミングを理解する
58. 1.upto(10) {|x| puts x}
・1から10まで一つずつ処理
3.times { puts “Yurufuwa” }
・処理を繰り返す
(1..10).each {|x| puts x}
59. s = o.to_s unless o.nil?
・制御とか
s = case value
when 0 then ‘0’
when 1..9 then ‘1’
when 10..99 then ‘2’
else ‘-’
end
62. ・クラス定義
class Point < Object
def initialize(x, y)
@x, @y = x, y
end
def size
@x * @y
end
attr_accessor :x, :y
end
66. Rails入門 & チュートリアル
Rails of Ruby on Rails
Plan de Sens 清水智雄;
毎日コミュニケーションズ; 3,200円
10日でおぼえる
RubyonRails入門教室
arton;
翔泳社; 2,800円