Method: WordTree::Library#path_to

Defined in:
lib/wordtree/library.rb

#path_to(book_id, type = :raw) ⇒ Object



26
27
28
# File 'lib/wordtree/library.rb', line 26

def path_to(book_id, type=:raw)
  File.join(dir_of(book_id), file_type(book_id, type))
end