class Bookbinder::Config::Checkers::SectionPresenceChecker
Constants
- NoSectionsError
Public Instance Methods
check(config)
click to toggle source
# File lib/bookbinder/config/checkers/section_presence_checker.rb, line 7 def check(config) if config.sections.none? NoSectionsError.new('No sections found in your config.yml. Add sections under the appropriate key(s) and try again.') end end