Class: ArrayDrills

Inherits:
Drills show all
Defined in:
lib/ruby_drills/array/array_drills.rb

Constant Summary

Constants included from Commands

Commands::GAMBLER

Instance Method Summary collapse

Methods inherited from Drills

#drills, #linked_drills, #ordered_drills, #start

Methods included from Commands

#back, #clear, #continue, #fail, #fold, #help, #hint, #quit, #review, #skip, #welcome, #win

Instance Method Details



3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/ruby_drills/array/array_drills.rb', line 3

def banner
  %{
Ruby Drills: Arrays and Enumerable

Arrays are ordered, integer-indexed collections of any object.

Arrays are Enumerable. The Enumerable mixin provides collection
classes with several traversal and searching methods, and with the ability to sort.
In this drill, you'll practice the methods in the Enumerable mixin that relate to
Arrays.

------------------------------------------------------------------
}
end