Class: Epuber::Checker::BookspecChecker
- Inherits:
-
Checker
- Object
- Checker
- Epuber::Checker::BookspecChecker
- Defined in:
- lib/epuber/checker/bookspec_checker.rb
Instance Attribute Summary collapse
- #book ⇒ Epuber::Book readonly
Instance Method Summary collapse
Instance Attribute Details
#book ⇒ Epuber::Book (readonly)
10 11 12 |
# File 'lib/epuber/checker/bookspec_checker.rb', line 10 def book @book end |
Instance Method Details
#call(book, compilation_context) ⇒ Object
Returns nil.
17 18 19 20 21 22 23 |
# File 'lib/epuber/checker/bookspec_checker.rb', line 17 def call(book, compilation_context) @book = book @block.call(self, book, compilation_context) @book = nil end |