Method: Bookfile::Builder#book

Defined in:
lib/bookfile/builder.rb

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



49
50
51
52
# File 'lib/bookfile/builder.rb', line 49

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