Updated for Ruby 2.2, this handy reference offers brief yet clear explanations of Ruby’s core elements—from operators to blocks to documentation creation—and highlights the key features you may work with every day. Need to know the correct syntax for a conditional? Forgot the name of that String method? This book is organized to help you find the facts fast. Ruby Pocket Reference, 2nd Edition is ideal for experienced programmers who are new to Ruby. Whether you’ve come to Ruby because of Rails, or you want to take advantage of this clean, powerful, and expressive language for other applications, this reference will help you easily pinpoint the information you need. You’ll find detailed reference material for: Keywords, operators, comments, numbers, and symbols Variables, pre-defined global variables, and regular expressions Conditional statements, method use, classes, and exception handling Methods for the BasicObject, Object, Kernel, String, Array, and Hash classes Time formatting directives New syntax since Ruby 1.9
Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET
Author: Tony Stubblebine
Publisher: "O'Reilly Media, Inc."
An expert guide to Ruby, a popular new Object-Oriented Programming Language Ruby is quickly becoming a favourite among developers who need a simple, straight forward, portable programming language. Ruby is ideal for quick and easy object-oriented programming such as processing text files or performing system management. Having been compared with other programming languages such as Perl, Python, PCL, Java, Eiffel, and C++; Ruby is popular because of its straight forward syntax and transparent semantics. Using step-by-step examples and real world applications, the Ruby Developer's Guide is designed for programmers and developer's looking to embrace the object-oriented features and functionality of this robust programming language. Readers will learn how to develop, implement, organize and deploy applications using Ruby. Ruby is currently experiencing a rapid rise in popularity in the object-oriented programming community Readers receive up-to-the minute links, white papers, and analysis for two years at [email protected] Comes with a wallet-sized CD containing a printable HTML version of the book, all of the source code examples and demos of popular Ruby third-party programming tools and applications
Rails 2.0 brings the acclaimed Rails framework to a new level of stability and power. At the same time, however, the number of moving parts remains impressive. The Rails Pocket Reference gives developers an alternative to aspirin and hunting for current references online. The Rails Pocket Reference covers all of the most frequently used methods and structures supported by Rails 2.0, and also explains key concepts needed to work through the most tangled corners of Rails.
When you need quick answers for developing or debugging Java programs, this pocket guide provides a handy reference to the standard features of the Java programming language and its platform. You’ll find helpful programming examples, tables, figures, and lists, as well as supplemental information about topics including the Java Scripting API, third-party tools, and the basics of the Unified Modeling Language (UML). Updated for new features through Java SE 7, this little book is an ideal companion, whether you’re in the office, in the lab, or on the road. Quickly find Java language details, such as naming conventions, fundamental types, and object-oriented programming elements Get details on the Java SE 7 platform, including development basics, memory management, concurrency, and generics Browse through basic information on NIO 2.0, the G1 Garbage Collector, and Project Coin (JSR-334) features Get supplemental references to development, CM, and test tools; libraries; IDEs; and Java-related scripting languages Find information to help you prepare for the Oracle Certified Associate Java SE 7 Programmer I exam
While most books written about Rails cater to programmers looking for information on data structures, Learning Rails targets web developers whose programming experience is tied directly to the Web. Rather than begin with the inner layers of a Rails web application--the models and controllers--this unique book approaches Rails development from the outer layer: the application interface. You'll learn how to create something visible with Rails before reaching the more difficult database models and controller code. With Learning Rails, you can start from the foundations of web design you already know, and then move more deeply into Ruby, objects, and database structures. This book will help you: Present web content by building an application with a basic view and a simple controller, while learning Ruby along the way Build forms and process their results, progressing from the simple to the more complex Connect forms to models by setting up a database, and use Rails' ActiveRecord to create code that maps to database structures Use Rails scaffolding to build applications from a view-centric perspective Add common web application elements such as sessions, cookies, and authentication Build applications that combine data from multiple tables Create simple but dynamic interfaces with Rails and Ajax Once you complete Learning Rails, you'll be comfortable working with the Rails web framework, and you'll be well on your way to becoming a Rails guru.
You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book -- a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road. Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book: Outlines many of the most important features of Ruby Demonstrates how to use conditionals, and how to manipulate strings in Ruby. Includes a section on regular expressions Describes how to use operators, basic math, functions from the Math module, rational numbers, etc. Talks you through Ruby arrays, and demonstrates hashes in detail Explains how to process files with Ruby Discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP) Introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics Acquaints you with some of the essentials of Rails, and includes a short Rails tutorial. Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, Learning Ruby holds the keys.
What is One Way to Become A Skilled, In-Demand Programmer?Start with Ruby!In the world of programming, many types of languages are being used. If you are just starting out, the first decision that you will have to make is which of these coding tools should you use. Learning how to code brings upon foreign concepts, technical jargon and many challenges. With that being said, one needs to be smart in choosing the perfect programming language that they feel would best complement their level of comprehension. Ruby is a highly recommended programming language that will help you get started. Why is Ruby Beneficial to Learn and In-Demand? 1. One of the easiest programming languages to learn. 2. It has a huge and functional ecosystem. 3. It is very flexible to use. 4. Ruby uses simple naming conventions to indicate extent of variables. 5. Ruby is loaded with other outstanding features. Those are just a few advantages to keep you in the loop. As you explore more of its benefits by reading Ruby Beginner's Crash Course you'll be confident enough to begin exploring this amazing programming language. What Will You Learn in this Book?-What Ruby Is -How To Install Ruby -How to Get Started -How Data is Structured In Ruby -How To Write A Web Application Using Ruby On Rails Buy this book now to quickly learn Ruby and open yourself up to a whole new world of possibilities! Pick up your copy today so we can get started!