Sha256: b5ec0efb3b69278487e350bd895634907fb8d01ba1954d593bd63af135f99e89

Contents?: true

Size: 431 Bytes

Versions: 9

Compression:

Stored size: 431 Bytes

Contents

module Fluent
  module Platforms
    module MechanizeDriver

      def self.create_platform_object_for(driver)
        require 'fluent/platform_mechanize/platform_object'
        return MechanizeDriver::PlatformObject.new(driver)
      end

      def self.works_with?(driver)
        driver.is_a?(::Mechanize)
      end

    end
  end
end

Fluent::Platforms.register(:mechanize, Fluent::Platforms::MechanizeDriver)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluent-0.7.5 lib/fluent/platform_mechanize.rb
fluent-0.7.4 lib/fluent/platform_mechanize.rb
fluent-0.7.3 lib/fluent/platform_mechanize.rb
fluent-0.7.2 lib/fluent/platform_mechanize.rb
fluent-0.7.1 lib/fluent/platform_mechanize.rb
fluent-0.7.0 lib/fluent/platform_mechanize.rb
fluent-0.6.0 lib/fluent/platform_mechanize.rb
fluent-0.5.0 lib/fluent/platform_mechanize.rb
fluent-0.4.0 lib/fluent/platform_mechanize.rb