Class: LHS::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/lhs/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
# File 'lib/lhs/config.rb', line 8

def initialize
  self.request_cycle_cache_enabled ||= true
end

Instance Attribute Details

#request_cycle_cache_enabledObject

Returns the value of attribute request_cycle_cache_enabled.



6
7
8
# File 'lib/lhs/config.rb', line 6

def request_cycle_cache_enabled
  @request_cycle_cache_enabled
end