Class: LanGrove::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/langrove/root/root_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ Base

Returns a new instance of Base.



7
8
9
10
11
12
# File 'lib/langrove/root/root_base.rb', line 7

def initialize( root )
  
  @root = root
  @logger = root.logger
  
end

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/langrove/root/root_base.rb', line 5

def logger
  @logger
end

Instance Method Details

#config_exception(error) ⇒ Object



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/langrove/root/root_base.rb', line 20

def config_exception( error )

  #
  # Raise the house down.
  # 
  
  raise LanGrove::DaemonConfigException.new(

    error

  )
  
  #
  # "They call, the Rising, Sun"
  #

end

#typeObject



14
15
16
17
18
# File 'lib/langrove/root/root_base.rb', line 14

def type
  
  @type
  
end