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
Menu
Range Min Max « Range « Ruby
Ruby
Range
Range Min Max
1.
Get the min element in a range
2.
Get the max element in a range
3.
The range min and max methods return the first and last elements in an array: