lib/faker/book.rb in faker-1.5.0 vs lib/faker/book.rb in faker-1.6.0
- old
+ new
@@ -6,14 +6,18 @@
def title
fetch('book.title')
end
def author
- fetch('book.author')
+ parse('book.author')
end
def publisher
fetch('book.publisher')
+ end
+
+ def genre
+ fetch('book.genre')
end
end
end
end