Module: SlippyMethodHooks

Defined in:
lib/slippy_method_hooks/hooks.rb,
lib/slippy_method_hooks/errors.rb,
lib/slippy_method_hooks/version.rb

Defined Under Namespace

Modules: ClassMethods Classes: Error, NoBlockGiven, TimeoutError

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Class Method Summary collapse

Class Method Details

.extend(mod) ⇒ Object



8
9
10
# File 'lib/slippy_method_hooks/hooks.rb', line 8

def self.extend(mod)
  mod.extend(ClassMethods)
end

.included(mod) ⇒ Object



4
5
6
# File 'lib/slippy_method_hooks/hooks.rb', line 4

def self.included(mod)
  mod.extend(ClassMethods)
end