Module: HasMockObjects

Extended by:
ActiveSupport::Concern
Defined in:
lib/has_mock_objects.rb,
lib/has_mock_objects/version.rb

Defined Under Namespace

Modules: ClassMethods, LocalInstanceMethods

Constant Summary collapse

SECONDS_IN_YEAR =
31536000
VERSION =
"0.0.6"

Instance Method Summary collapse

Instance Method Details

#has_mock_objectsObject



8
9
10
11
12
13
# File 'lib/has_mock_objects.rb', line 8

def has_mock_objects
  unless included_modules.include? LocalInstanceMethods
    extend ClassMethods
    include LocalInstanceMethods
  end
end