dry-rb

collection of next-generation Ruby libraries

Ruby

Quick lecture overview

  • Data Types
  • Expressions

Integer

Integer numbers is simply a sequence of digits. Fixnum numbers are integers up to a certain limit.

Integer Class methods

Comparison operators

Comparison operators are used in logical statements to determine values.


== != > < <= >= <=> === .eql? .equal?