Module: RSpec::SleepingKingStudios::Deferred::Missing

Defined in:
lib/rspec/sleeping_king_studios/deferred/missing.rb

Overview

Optional support for deferring unrecognized methods.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object

Callback invoked when the module is included in another module or class.

Extends the class or module with the ClassMethods module.

Parameters:

  • other (Module)

    the other module or class.

See Also:



38
39
40
41
42
43
44
# File 'lib/rspec/sleeping_king_studios/deferred/missing.rb', line 38

def self.included(other)
  super

  other.extend(
    RSpec::SleepingKingStudios::Deferred::Missing::ClassMethods
  )
end