Your SlideShare is downloading. ×
0
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Ruby&Rails入門講座-1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ruby&Rails入門講座-1

4,096

Published on

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,096
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
69
Comments
0
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Ruby勉強会@札幌 特別編 Ruby&Rails 入門講座 Ruby札幌 http://jp.rubyist.net/?RubySapporo
  • 2. アジェンダ -はじめに(5分) -自己紹介(35分) -irbを使ったRuby実習(20分) -休憩(5分) -Rails実習(110分) -おわりに (5分)
  • 3. 自己紹介 Self-Introduction
  • 4. irbを使ったRuby実習 Practice ruby by using irb
  • 5. Ruby実習 1 + 1
  • 6. Ruby実習 1 + 0.1 * 5
  • 7. Ruby実習 a = 1 a.class
  • 8. Ruby実習 b = 2 c = a + b puts c
  • 9. Ruby実習 ab = “aaa”+“bbb” puts “#{ab}ccc”
  • 10. Ruby実習 ary = %w|aaa bbb ccc| ary.class ary.inspect
  • 11. Ruby実習 ary[0] ary << “ddd” ary.shift puts ary
  • 12. Ruby実習 ary.each do |element| puts element end
  • 13. Ruby実習 hash = {“aaa” => “xxx”, “bbb” => “yyy”} hash.class
  • 14. Ruby実習 a = true a.class a.inspect
  • 15. Ruby実習 if a puts “true” else puts “false” end
  • 16. Ruby実習 def foo(isNight, name) if (isNight) return “こんばんわ#{name}” else return “こんにちわ#{name}” end end
  • 17. Ruby実習 puts foo(true, “しまだ”)
  • 18. 休憩 break time
  • 19. Railsチュートリアル Practice rails
  • 20. ここからは masuidriveさんの資料で

×