Created
October 14, 2017 16:57
-
-
Save Epigene/3847c4aba1b74b21eb5788e1f694552b to your computer and use it in GitHub Desktop.
Matching author and publisher names?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def with_characteristics?(characteristics_hash) | |
author.name == characteristics_hash[:author_name] && | |
publisher.name == characteristics_hash[:publisher_name] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment