module Shackles::HelperMethods

Public Class Methods

included(base) click to toggle source
# File lib/shackles/helper_methods.rb, line 3
def self.included(base)
  base.singleton_class.include(ClassMethods)
  # call shackle_class_method on the class itself, which then calls shackle_method on the singleton_class
  base.singleton_class.singleton_class.include(ClassMethods)
end