module ActsAsTaggableOnMongoid
The base module for the gem under which all classes are namespaced.
require “active_support/core_ext/module/delegation”
Constants
- VERSION
Public Class Methods
configuration()
click to toggle source
rubocop:enable Metrics/BlockLength
# File lib/acts-as-taggable-on-mongoid.rb, line 90 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/acts-as-taggable-on-mongoid.rb, line 94 def self.configure yield configuration if block_given? end
method_missing(method_name, *args, &block)
click to toggle source
:reek: ManualDispatch
Calls superclass method
# File lib/acts-as-taggable-on-mongoid.rb, line 99 def self.method_missing(method_name, *args, &block) configuration.respond_to?(method_name) ? configuration.public_send(method_name, *args, &block) : super end
respond_to_missing?(method_name, _include_private = false)
click to toggle source
:reek: BooleanParameter :reek: ManualDispatch
Calls superclass method
# File lib/acts-as-taggable-on-mongoid.rb, line 105 def self.respond_to_missing?(method_name, _include_private = false) configuration.respond_to?(method_name) || super end