lib/spidr/spidr.rb in spidr-0.6.1 vs lib/spidr/spidr.rb in spidr-0.7.0
- old
+ new
@@ -34,25 +34,34 @@
end
#
# @see Agent.start_at
#
- def self.start_at(url,options={},&block)
- Agent.start_at(url,options,&block)
+ def self.start_at(url,**kwargs,&block)
+ Agent.start_at(url,**kwargs,&block)
end
#
# @see Agent.host
#
- def self.host(name,options={},&block)
- Agent.host(name,options,&block)
+ def self.host(name,**kwargs,&block)
+ Agent.host(name,**kwargs,&block)
end
#
+ # @see Agent.domain
+ #
+ # @since 0.7.0
+ #
+ def self.domain(name,options={},&block)
+ Agent.domain(name,options,&block)
+ end
+
+ #
# @see Agent.site
#
- def self.site(url,options={},&block)
- Agent.site(url,options,&block)
+ def self.site(url,**kwargs,&block)
+ Agent.site(url,**kwargs,&block)
end
#
# @abstract
#