Method: Bookfile::Bookfile.load_file
- Defined in:
- lib/bookfile/bookfile.rb
.load_file(path = './Bookfile') ⇒ Object
convenience method - use like Bookfile.load_file()
10 11 12 13 14 15 |
# File 'lib/bookfile/bookfile.rb', line 10 def self.load_file( path='./Bookfile' ) # Note: return datafile (of course, NOT the builder) # if you want a builder use Bookfile::Builder ;-) builder = Builder.load_file( path ) builder.bookfile end |