Save-Point
Ruby's Peculiarities - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Tutorials (https://www.save-point.org/forum-19.html)
+--- Thread: Ruby's Peculiarities (/thread-12846.html)



Ruby's Peculiarities - kyonides - 09-13-2025

Ruby's Peculiarities

by Kyonides

This thread is all about some strange or unusual or certain features specific to the Ruby programming language. Some are object-oriented or functional characteristics while other are just internal specifications you should know about. This is NOT intended to go too deep into any of the topics discussed here. There's another thread that focuses on analysis of Ruby and RGSS here on the board.

NOTE: Parent class and Super class are synonyms here.

Index

  1. It has 5 Types of Variables
  2. CONSTANTS are NOT as Static as their Counterparts in other Languages
  3. Classes and Modules are ALWAYS OPEN
  4. You only declare a class's parent class ONCE.
  5. The Very Existence of the Eigenclass or Metaclass in Ruby
  6. Modules have other ways to define NEW methods without explicitly specifying they belong to that module
  7. Ruby's Boolean Values

1. It has 5 Types of Variables

Content Hidden

2. CONSTANTS are NOT as Static as their Counterparts in other Languages

Content Hidden

3. Classes and Modules are ALWAYS OPEN

Content Hidden

4. You only declare a class's parent class ONCE

Content Hidden

5. The Very Existence of the Eigenclass or Metaclass in Ruby

Content Hidden

6. Modules have other ways to define NEW methods without explicitly specifying they belong to that module

Content Hidden

7. Ruby's Boolean Values

Content Hidden