module ActsAsExplorable
ActsAsExplorable
Plugin
@author hiasinho
Constants
- VERSION
Public Class Methods
extended(base)
click to toggle source
# File lib/acts_as_explorable.rb, line 17 def self.extended(base) base.extend Query end
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/acts_as_explorable.rb, line 21 def self.method_missing(method_name, *args, &block) if @configuration.respond_to?(method_name) @configuration.send(method_name, *args, &block) else super end end
respond_to?(method_name, _include_private = false)
click to toggle source
# File lib/acts_as_explorable.rb, line 29 def self.respond_to?(method_name, _include_private = false) @configuration.respond_to? method_name end
Protected Class Methods
setup() { |configuration| ... }
click to toggle source
# File lib/acts_as_explorable.rb, line 35 def self.setup @configuration ||= Configuration.new yield @configuration if block_given? end