Method: Bookfile::Builder#book

Defined in:
lib/bookfile/builder.rb

#book(opts = {}, &block) ⇒ Object



55
56
57
58
# File 'lib/bookfile/builder.rb', line 55

def book( opts={}, &block )
  puts "book opts: #{opts.inspect}"
  @bookfile.books << BookDef.new( opts, block )
end