Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

The plan and worth of Ruby 1.9

2,144 views

Published on

at KansaiRubyKaigi01

Published in: Technology, Education
  • Be the first to comment

The plan and worth of Ruby 1.9

  1. 1. 2008 11 9 1
  2. 2. 2008 11 9 2
  3. 3. 2008 11 9 3
  4. 4. 2008 11 9 4
  5. 5. 2008 11 9 5
  6. 6. 2008 11 9 6
  7. 7. 2008 11 9 7
  8. 8. 2008 11 9 8
  9. 9. 2008 11 9 9
  10. 10. 2008 11 9 10
  11. 11. 2008 11 9 11
  12. 12. 2008 11 9 12
  13. 13. “ ”.length #=> 5 “ ”.bytesize #=> 15 “ ”.encoding #=> #<Encoding:UTF-8> 2008 11 9 13
  14. 14. ?a #=> “a” ? #=> “ ” ?அ #=> “அ” 2008 11 9 14
  15. 15. File.open(“/path/to/file”, “r:EUC-JP”) {|f| f.read.encoding #=> #<Encoding:EUC-JP> } File.open(“/path/to/file”, “r:EUC-JP:CP932”) {|f| f.read.encoding #=> #<Encoding:Windows-31J> } 2008 11 9 15
  16. 16. 2008 11 9 16
  17. 17. 2008 11 9 17
  18. 18. 2008 11 9 18
  19. 19. 2008 11 9 19
  20. 20. 2008 11 9 20
  21. 21. 2008 11 9 21
  22. 22. 2008 11 9 22
  23. 23. 2008 11 9 23
  24. 24. 2008 11 9 24
  25. 25. 2008 11 9 25

×