module Shoulda::Matchers::Integrations
@private
Public Class Methods
Source
# File lib/shoulda/matchers/integrations.rb, line 10 def find_library!(name) library_registry.find!(name) end
Source
# File lib/shoulda/matchers/integrations.rb, line 18 def find_test_framework!(name) test_framework_registry.find!(name) end
Source
# File lib/shoulda/matchers/integrations.rb, line 6 def register_library(klass, name) library_registry.register(klass, name) end
Source
# File lib/shoulda/matchers/integrations.rb, line 14 def register_test_framework(klass, name) test_framework_registry.register(klass, name) end
Private Class Methods
Source
# File lib/shoulda/matchers/integrations.rb, line 24 def library_registry @_library_registry ||= Registry.new end
Source
# File lib/shoulda/matchers/integrations.rb, line 28 def test_framework_registry @_test_framework_registry ||= Registry.new end