Module: Retter::Site

Extended by:
Configurable, Site
Included in:
Command, Page::Base, Page::ViewHelper, Site
Defined in:
lib/retter.rb

Instance Method Summary collapse

Methods included from Configurable

configurable, define_configurable_method, define_instance_shortcut_method

Instance Method Details

#configObject



45
46
47
# File 'lib/retter.rb', line 45

def config
  @@config
end

#entriesObject



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