Module: Switchman::Shackles
- Defined in:
- lib/switchman/shackles.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/switchman/shackles.rb', line 28 def self.included(klass) klass.extend(ClassMethods) klass.singleton_class.send(:remove_method, :ensure_handler) klass.singleton_class.send(:remove_method, :activate!) klass.singleton_class.send(:remove_method, :activate) end |