Organize config
This commit is contained in:
parent
b83e340dbe
commit
eba48f7315
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue