Method: Almanack::Configuration#reset!

Defined in:
lib/almanack/configuration.rb

#reset!Object



33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/almanack/configuration.rb', line 33

def reset!
  @theme           = DEFAULT_THEME
  @days_lookahead  = DEFAULT_DAYS_LOOKAHEAD
  @feed_lookahead  = DEFAULT_FEED_LOOKAHEAD
  @event_sources   = []
  @cache_responses = DEFAULT_CACHE_RESPONSES
  @cache_expiry    = DEFAULT_CACHE_EXPIRY

  @theme_paths = [
    Pathname.pwd.join('themes'),
    Pathname(__dir__).join('themes')
  ]
end