
- 330 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Comprehensive Ruby Programming
About this book
This book will provide you with all of the tools you need to be a professional Ruby developer. Starting with the core principles, such as syntax and best practices, and up to advanced topics like metaprogramming and big data analysis.About This Book• Provides the core skills required to become a Ruby programmer• Covers how to use the most popular Ruby Gem libraries• Includes details on regular expressionsWho This Book Is ForThis is a complete course written from the ground up for beginners wanting to gain a solid understanding of the Ruby language. It starts at the beginning with how to install Ruby and work with it on multiple machines, so simply have a computer that's connected to the Internet and you'll be ready.What You Will Learn• Learn how to use Ruby code effectively, picking the right tool for the job and not duplicating built-in functionality• Gain best software development practices, and how to identify and fix common errors• Absorb core programming skills, such as variables, strings, loops, conditionals, and much more• Explore object-oriented programming and learn to create modular, reusable code that you can use across projects• Build 10 practical Ruby programs as you work through the book on topics such as big data analysis and solving Euler equationsIn DetailRuby is a powerful, general-purpose programming language that can be applied to any task. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this book is your comprehensive Ruby coding guide. Starting with the foundational principles, such as syntax, and scaling up to advanced topics such as big data analysis, this book will give you all of the tools you need to be a professional Ruby developer. A few of the key topics are: object-oriented programming, built-in Ruby methods, core programming skills, and an introduction to the Ruby on Rails and Sinatra web frameworks. You will also build 10 practical Ruby programs.Created by an experienced Ruby developer, this book has been written to ensure it focuses on the skills you will need to be a professional Ruby developer. After you have read this book, you will be ready to start building real-world Ruby projects.Style and approachThis is a comprehensive course for learning the Ruby programming language that works methodically through everything that you need to know. It begins with the basics of the language and then works through some complete projects to apply your skills and ensure that you have fully absorbed them and can use them in the real world.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Object-Oriented Programming in Ruby
- Work with Ruby classes
- Use getter and setter methods in Ruby
- Demonstrate how to implement OOP techniques such as inheritance and polymorphism
- Employ the SOLID design patterns to follow OOP best practices
Introduction to how OOP works
A real-world OOP example




- Communicate with the database
- Implement data validations
- Launch automated processes named callbacks
- And much more
Ruby OOP development – setters, getters, and methods
class ApiConnector
end
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- www.PacktPub.com
- Customer Feedback
- Preface
- Introduction to the Ruby Programming Language
- Ruby Variables
- Ruby Strings
- Working with Numbers in Ruby
- Ruby Methods
- Ruby Iterators and Loops
- Ruby Collections
- Ruby Conditionals
- Object-Oriented Programming in Ruby
- Working with the Filesystem in Ruby
- Error Handling in Ruby
- Regular Expressions in Ruby
- Searching with grep in Ruby
- Ruby Gems
- Ruby Metaprogramming
- Ruby Web Frameworks
- Working with APIs in Ruby
- Ruby Algorithms
- Machine Learning
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app