Class: RLM::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rlm/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
11
12
13
14
15
16
# File 'lib/rlm/config.rb', line 8

def initialize
  @root_lm = nil
  @sub_lm = nil
  @sandbox = Sandbox::Mock.new
  @cache = nil
  @default_limits = Limits.new
  @trace_store = nil
  @logger = nil
end

Instance Attribute Details

#cacheObject

Returns the value of attribute cache.



5
6
7
# File 'lib/rlm/config.rb', line 5

def cache
  @cache
end

#default_limitsObject

Returns the value of attribute default_limits.



5
6
7
# File 'lib/rlm/config.rb', line 5

def default_limits
  @default_limits
end

#loggerObject



18
19
20
# File 'lib/rlm/config.rb', line 18

def logger
  @logger ||= default_logger
end

#root_lmObject

Returns the value of attribute root_lm.



5
6
7
# File 'lib/rlm/config.rb', line 5

def root_lm
  @root_lm
end

#sandboxObject

Returns the value of attribute sandbox.



5
6
7
# File 'lib/rlm/config.rb', line 5

def sandbox
  @sandbox
end

#sub_lmObject

Returns the value of attribute sub_lm.



5
6
7
# File 'lib/rlm/config.rb', line 5

def sub_lm
  @sub_lm
end

#trace_storeObject

Returns the value of attribute trace_store.



5
6
7
# File 'lib/rlm/config.rb', line 5

def trace_store
  @trace_store
end