Class: Array

Inherits:
Object
  • Object
show all
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

#reachObject



19
20
21
# File 'lib/reachable.rb', line 19

def reach
  ReachingArray.new(self)
end

#slapObject



23
24
25
# File 'lib/reachable.rb', line 23

def slap
  SlappingArray.new(self)
end