Method: Bookbinder::Config::Validator#exceptions
- Defined in:
- lib/bookbinder/config/validator.rb
#exceptions(config) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/bookbinder/config/validator.rb', line 16 def exceptions(config) exceptions = [ Checkers::RequiredKeysChecker.new, Checkers::DuplicateSectionNameChecker.new, Checkers::RepositoryNamePresenceChecker.new, Checkers::SectionPresenceChecker.new, Checkers::DitamapPresenceChecker.new, Checkers::ArchiveMenuChecker.new(@file_system_accessor), Checkers::ProductsChecker.new ].map do |checker| checker.check(config) end exceptions.compact end |