Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/reachable.rb
Overview
Bookshelf.all.reach is a ReachableArray the books is an array (bookshelves) of arrays (books)
Instance Method Summary collapse
Instance Method Details
#reach ⇒ Object
19 20 21 |
# File 'lib/reachable.rb', line 19 def reach ReachingArray.new(self) end |
#slap ⇒ Object
23 24 25 |
# File 'lib/reachable.rb', line 23 def slap SlappingArray.new(self) end |