lib/bookshelf/parser.rb in bookshelf-1.2.0 vs lib/bookshelf/parser.rb in bookshelf-1.2.1
- old
+ new
@@ -22,10 +22,10 @@
end
# Return directory's basename.
#
def name
- File.basename(book_dir)
+ File.basename(Bookshelf.root_dir)
end
# Return the configuration file.
#
def config