Ruby Pocket Reference

Author: Michael Fitzgerald

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 224

View: 410

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 Expression Pocket Reference

Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET

Author: Tony Stubblebine

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 117

View: 300

A guide to the syntax and semantics of regular expressions for Perl 5.8, Ruby, Java, PHP, C#, .NET, Python, JavaScript, and PCRE.

Ruby in a Nutshell

Author: Yukihiro Matsumoto

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 204

View: 742

Introduces Ruby's object-oriented programming capabilities, detailing command-line options, syntax, built-in variables, functions, commonly used classes and modules, environment variables, operators, methods, and security.

Learning Rails: Live Edition

Author: Simon St. Laurent

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 480

View: 626

Ready to learn Rails? Get up to speed using the framework’s latest release. In this Live Edition, Learning Rails has been updated to cover Rails 2.3.5, making it an ideal guide for Rails beginners. Unlike most Rails books, Learning Rails is for web developers, and not for programmers. Rather than begin with the inner layers of a Rails web application -- the models and controllers -- this book approaches Rails development from the outer layer: the view side of an application. You’ll start from the foundations of the Web you already know, and learn how to create something visible with Rails before reaching the more difficult database models and controller code. Each chapter includes exercises and review questions so you can test your understanding as you go. Present 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 simple to more complex Connect forms to models by setting up a database, and use Rails’ Active Record 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 O'Reilly Live Edition books give you access to updates to topics in between editions of a book. A Live Edition is an electronic and print-on-demand version of the book that is updated when there is a significant change to the software or technology the book covers, keeping you on top of .X releases or major fixes.

Learning Ruby

The Language that Powers Rails

Author: Michael Fitzgerald

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 260

View: 995

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.

The Ruby Programming Language

Everything You Need to Know

Author: David Flanagan

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 448

View: 191

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team: David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository. Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book. why the lucky stiff, artist and Ruby programmer extraordinaire. This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules. The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities. The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

Rails Pocket Reference

Author: Eric Berry

Publisher: "O'Reilly Media, Inc."

ISBN:

Category: Computers

Page: 186

View: 320

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.

The Ruby Way

Solutions and Techniques in Ruby Programming

Author: Hal Fulton

Publisher: Addison-Wesley Professional

ISBN:

Category: Computers

Page: 816

View: 505

For more than a decade, Ruby developers have turned to The Ruby Way for reliable “how-to” guidance on effective Ruby programming. Now, Hal Fulton and André Arko have thoroughly updated this classic guide to cover new language enhancements and developers’ experiences through Ruby 2.1. The new edition illuminates Ruby 2.1 through 400+ examples, each answering the question: “How do I do this in Ruby?” For each example, they present both a task description and realistic technical constraints. Next, they walk step-by-step through presenting one good solution, offering detailed explanations to promote deeper understanding. Conveniently organized by topic, The Ruby Way, Third Edition makes it easier than ever to find the specific solution you want—and to write better code by reflecting Ruby’s unique philosophy and spirit. Coverage includes Ruby 2.1 overview: terminology, philosophy, and basic principles Best practices for strings and regular expressions Efficiently internationalizing your code Performing calculations (including trigonometry, calculus, statistics, and time/date calculations) Working with “Rubyesque” objects such as symbols and ranges Using arrays, hashes, stacks, queues, trees, graphs, and other data structures Efficiently storing data with YAML, JSON, and SQLite3 Leveraging object-oriented and dynamic features, from multiple constructors to program inspection Building GUIs with Shoes 4, Ruby/Tk, Ruby/GTK3, QtRuby, and other toolkits Improving thread performance by understanding Ruby’s synchronization methods and avoiding its pitfalls Automating system administration with Ruby Data formats: JSON, XML, RSS, Atom, RMagick, PDF, and more Testing and debugging with RSpec, Minitest, Cucumber, byebug, and pry Measuring Ruby program performance Packaging and distributing code, and managing dependencies with Bundler Network programming: clients, time servers, POP, SMTP, IMAP, Open-URI Web applications: HTTP servers, Rails, Sinatra, HTML generation, and more Writing distributed Ruby software with drb Choosing modern development tools that maximize your productivity All source code for this book may be downloaded at www.rubyhacker.com. informit.com/aw informit.com/ruby rubyhacker.com/therubyway therubyway.io

LEARN RUBY IN 7 DAYS

Ruby Tutorial for Guaranteed Quick Learning. Ruby Guide with Many Practical Examples. This Ruby Book Covers Frequently Used Concepts, Required to Build Real Life Projects.

Author: Nitin Kore

Publisher:

ISBN:

Category:

Page: 92

View: 493

What will you learn? =>Building Ruby based software programs =>Ruby language syntax =>Handling conditional statements, loops, iterators, math functions, strings =>Handling exceptions, arithmetic operators, yield, blocks =>Handling arrays, hashes, variables, and scopes

Ruby Beginner's Crash Course

Ruby for Beginner's Guide to Ruby Programming, Ruby on Rails & Rails Programming

Author: Quick Start Guides

Publisher: Createspace Independent Publishing Platform

ISBN:

Category:

Page: 146

View: 646

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!