Ruby: 68 Things Beginners Need to Know by Azuma Misaki, Nishiyama Nana, Michael Johnson
English | July 30, 2024 | ISBN: N/A | ASIN: B0DBQYRRSC | 172 pages | EPUB | 0.79 Mb
English | July 30, 2024 | ISBN: N/A | ASIN: B0DBQYRRSC | 172 pages | EPUB | 0.79 Mb
Dive into the world of Ruby with this comprehensive guide designed for beginners.
Learn the fundamental concepts and unique features of Ruby, from objects and symbols to flexible syntax and blocks.
Understand how to handle exceptions, manage memory with Ruby's garbage collector, and utilize modules and mixins.
Explore interactive Ruby (irb) for quick testing and discover the powerful tools Ruby offers for efficient coding.
Whether you're new to programming or transitioning from another language, this book provides the essential knowledge to get you started with Ruby.
With clear explanations and practical examples, you'll gain the confidence to write your own Ruby programs.
Start your journey into Ruby programming today and unlock the full potential of this versatile language.
《Index》
・Everything in Ruby is an Object
・Symbols in Ruby are Immutable Strings
・Flexible Syntax with Optional Parentheses
・Using Blocks in Ruby Methods
・Ruby's Single-Line and Multi-Line Comments
・Ruby's nil for "Nothing" or "No Value"
・Using puts to Print Output in Ruby
・Including External Files and Libraries with require in Ruby
・Using attr_accessor for Getter and Setter Methods in Ruby
・Using Mixins with Modules in Ruby
・Using Interactive Ruby (irb) for Quick Testing
・Exception Handling in Ruby with begin, rescue, and ensure
・Using end to Close Blocks, Classes, and Methods in Ruby
・Using the yield Keyword to Pass Control to a Block in Ruby
・Understanding Ruby Ranges
・Ruby Arrays with Mixed Types
・Understanding Ruby Hashes: Key-Value Pairs and Symbols as Keys
・Using the Hash Rocket (=) for Key-Value Pairs in Ruby
・Ruby's Garbage Collector for Memory Management
・Using self to Refer to the Current Object in Ruby
・Creating Method Aliases in Ruby
・Using the super Keyword to Call Parent Class Methods in Ruby
…etc