Module: Taxonomite::ConfiguredGlobally

Included in:
Node, Taxonomy
Defined in:
lib/taxonomite/taxonomite_configuration.rb

Overview

All classes which are configured using Taxonomite::Configuration should extend this module, such that they can access the configuration via their own class methods (i.e. ClassA.config.option)

Instance Method Summary collapse

Instance Method Details

#configObject



62
63
64
# File 'lib/taxonomite/taxonomite_configuration.rb', line 62

def config
  Taxonomite::Configuration.config
end

#resetObject



66
67
68
# File 'lib/taxonomite/taxonomite_configuration.rb', line 66

def reset
  Taxonomite::Configuration.reset
end