class DogEventer::Url
Public Class Methods
new(start_time, url)
click to toggle source
Calls superclass method
DogEventer::Scope::new
# File lib/dogeventer/scope.rb, line 30 def initialize(start_time, url) super start_time @url = url end
Public Instance Methods
pingdom_check(check_name, &block)
click to toggle source
# File lib/dogeventer/scope.rb, line 35 def pingdom_check(check_name, &block) p = PingdomCheck.new(check_name, @url, @start_time) p.instance_eval &block @events += p.events end