Class: Ditch::Book

Inherits:
Creek::Book
  • Object
show all
Defined in:
lib/ditch/book.rb

Overview

Extends the Creek::Book

Instance Method Summary collapse

Instance Method Details

#sheet(number, options = {}) ⇒ Object

Retrieve the Sheet on a given index in the Book

  • number The sheet number within the Book

  • options Options passed on to the Creation of the Ditch::Sheet



9
10
11
# File 'lib/ditch/book.rb', line 9

def sheet(number, options={})
  Ditch::Sheet.new sheets[number],  options
end