Parse .epub files to extract metadata and cover image.
[quanlib.git] / author.rb
index 6bfe610495b6e7a090499141ba890b7e5ec17208..a0a95e89f340fe4c996a540947e2432202011be1 100644 (file)
--- a/author.rb
+++ b/author.rb
@@ -4,4 +4,12 @@ class Author
     @surname = surname
     @givenNames = givenNames
   end
+
+  def inspect
+    @givenNames + ' ' + @surname
+  end
+
+  def to_s
+    inspect
+  end
 end