Class: Bookbinder::DuplicateSectionNameChecker

Inherits:
Object
  • Object
show all
Defined in:
lib/bookbinder/configuration_validator.rb

Instance Method Summary collapse

Instance Method Details

#check(config) ⇒ Object



4
5
6
7
8
# File 'lib/bookbinder/configuration_validator.rb', line 4

def check(config)
  if duplicate_section_names?(config)
    ConfigurationValidator::DuplicateSectionNameError
  end
end