Module: Interjectable

Defined in:
lib/interjectable.rb,
lib/interjectable/rspec.rb,
lib/interjectable/version.rb

Defined Under Namespace

Modules: ClassMethods, RSpecHelper

Constant Summary collapse

MethodAlreadyDefined =
Class.new(StandardError)
VERSION =
"1.1.2"

Class Method Summary collapse

Class Method Details

.extended(mod) ⇒ Object



12
13
14
# File 'lib/interjectable.rb', line 12

def self.extended(mod)
  mod.send(:extend, ClassMethods)
end

.included(mod) ⇒ Object



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

def self.included(mod)
  mod.send(:extend, ClassMethods)
end