Method: Bookfile::Bookfile.load
- Defined in:
- lib/bookfile/bookfile.rb
.load(code) ⇒ Object
another convenience method - use like Bookfile.load()
18 19 20 21 22 23 |
# File 'lib/bookfile/bookfile.rb', line 18 def self.load( code ) # Note: return datafile (of course, NOT the builder) # if you want a builder use Bookfile::Builder ;-) builder = Builder.load( code ) builder.bookfile end |