Module: Rewrite::ByExample::Returning

Included in:
ObjectToMatcher
Defined in:
lib/rewrite/by_example/returning.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



21
22
23
24
# File 'lib/rewrite/by_example/returning.rb', line 21

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end