Class: Capybara::Screenshot::Callbacks::CallbackSet

Inherits:
Array
  • Object
show all
Defined in:
lib/capybara-screenshot/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#call(*args) ⇒ Object



5
6
7
8
9
# File 'lib/capybara-screenshot/callbacks.rb', line 5

def call *args
  each do |callback|
    callback.call *args
  end
end