diff --git a/lib/referator/config.rb b/lib/referator/config.rb index d52592d..ef4d4a1 100644 --- a/lib/referator/config.rb +++ b/lib/referator/config.rb @@ -9,21 +9,21 @@ module Referator end def freeze - formats.freeze categories.freeze + formats.freeze repo.freeze super end - def formats(&) - @formats ||= Formats.new self - end - - def categories(&) + def categories @categories ||= Categories.new self end - def repo(&) + def formats + @formats ||= Formats.new self + end + + def repo @repo ||= Repo.new self end