Module: Capybara::Screenshot::Callbacks

Included in:
Saver
Defined in:
lib/capybara-screenshot/callbacks.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: CallbackSet

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



38
39
40
41
# File 'lib/capybara-screenshot/callbacks.rb', line 38

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