Module: Retter::Site
Instance Method Summary
collapse
configurable, define_configurable_method, define_instance_shortcut_method
Instance Method Details
#config ⇒ Object
45
46
47
|
# File 'lib/retter.rb', line 45
def config
@@config
end
|
#entries ⇒ Object
41
42
43
|
# File 'lib/retter.rb', line 41
def entries
@@entries ||= Entries.new
end
|
#load(env) ⇒ Object
33
34
35
|
# File 'lib/retter.rb', line 33
def load(env)
@@config = Config.new(env)
end
|
#reset! ⇒ Object
37
38
39
|
# File 'lib/retter.rb', line 37
def reset!
@@entries = nil
end
|