Module: Fluent::Platforms::MechanizeDriver
- Defined in:
- lib/fluent/platform_mechanize.rb,
lib/fluent/platform_mechanize/platform_object.rb
Defined Under Namespace
Classes: PlatformObject
Class Method Summary collapse
Class Method Details
.create_platform_object_for(driver) ⇒ Object
5 6 7 8 |
# File 'lib/fluent/platform_mechanize.rb', line 5 def self.create_platform_object_for(driver) require 'fluent/platform_mechanize/platform_object' return MechanizeDriver::PlatformObject.new(driver) end |
.works_with?(driver) ⇒ Boolean
10 11 12 |
# File 'lib/fluent/platform_mechanize.rb', line 10 def self.works_with?(driver) driver.is_a?(::Mechanize) end |