Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Fixnum class « Number « Ruby
Ruby
Number
Fixnum class
1.
Fixnum literal value
2.
Normal-looking math equations when you use operator methods, such as +
3.
Extend the Fixnum class with some helper methods to make manipulating dates easier
4.
Output the modules where Fixnum lives
5.
find out the ancestors of Fixnum
6.
Raise ArgumentError from method