class Taxonomite::Configuration
The configuration class for Taxonomite
gem. All classes which are configured via this mechanism should extend Taxonomite::Configured (below).
Attributes
default_taxonomy_require_both[RW]
use_tree_model[RW]
future versions may extend to using different tree models
-
for now uses a custom tree model (:self)
Public Class Methods
create_configuration()
click to toggle source
# File lib/taxonomite/taxonomite_configuration.rb, line 38 def self.create_configuration Taxonomite::Configuration.new end
new()
click to toggle source
initialize object variables to defaults
# File lib/taxonomite/taxonomite_configuration.rb, line 50 def initialize @use_tree_model = :self @default_taxonomy_require_both = true end