APPENDIX ARuby for Java Programmers

This appendix is not supposed to be a full reference to the Ruby language. Instead, the point is to give an introduction based on what you already know from Java, noting some differences and things that are useful to know. With the help of this appendix, you should be able to understand almost all the code in this book.

If you want to learn Ruby from scratch and in more depth, several good books, both published and online, can help. Appendix C details some of the best.

If you're a Java programmer coming to Ruby, it's important to keep in mind that Ruby is quite different from Java. You can write Ruby code in the style of Java if you want, but you'll lose some of the benefits. The style of Ruby can be widely ...

Get Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.