Organize config

This commit is contained in:
Alex Kotov 2023-10-01 00:15:36 +04:00
parent b83e340dbe
commit eba48f7315
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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