projects
/
quanlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parse .epub files to extract metadata and cover image.
[quanlib.git]
/
author.rb
diff --git
a/author.rb
b/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