Module: Greenbar::TestSetup::SetupModuleExtension

Defined in:
lib/greenbar/TestSetup.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#call_instance_method(symbol, testCase) ⇒ Object



68
69
70
71
# File 'lib/greenbar/TestSetup.rb', line 68

def call_instance_method(symbol, testCase)
  method = instance_method(symbol).bind(testCase)
  method.call
end

#included(aClass) ⇒ Object



64
65
66
# File 'lib/greenbar/TestSetup.rb', line 64

def included(aClass)
  aClass.extend TestCaseClassExtension
end