module ActsAsFollower
Constants
- VERSION
Public Class Methods
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/acts_as_follower1.rb, line 14 def self.method_missing(method_name, *args, &block) if method_name == :custom_parent_classes= ActiveSupport::Deprecation.warn("Setting custom parent classes is deprecated and will be removed in future versions.") end @configuration.respond_to?(method_name) ? @configuration.send(method_name, *args, &block) : super end
setup() { |configuration| ... }
click to toggle source
# File lib/acts_as_follower1.rb, line 9 def self.setup @configuration ||= Configuration.new yield @configuration if block_given? end