Module: Appfuel::RootModule

Defined in:
lib/appfuel/root_module.rb

Overview

The root module is an import concept. It represents the services top most namespace. It is assumed that the root module will have a feature module, its child, and that feature module will have many action classes inside it.

Instance Method Summary collapse

Instance Method Details

#root_moduleObject



12
13
14
# File 'lib/appfuel/root_module.rb', line 12

def root_module
  @root_module ||= root_module_const
end

#root_module=(value) ⇒ Object



7
8
9
10
# File 'lib/appfuel/root_module.rb', line 7

def root_module=(value)
  fail "Root module must be a module" unless value.is_a?(Module)
  @root_module = value
end