Sha256: 18d5facec7856c72bb796ce6234f77cdd9f563299473b74221dc0ee7838effd1

Contents?: true

Size: 261 Bytes

Versions: 12

Compression:

Stored size: 261 Bytes

Contents

class Browser
  module Meta
    class GenericBrowser < Base
      def meta
        "#{browser.id} #{browser.id}#{browser.version}" if generic?
      end

      private

      def generic?
        !browser.safari? && !browser.chrome?
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
browser-1.1.0 lib/browser/meta/generic_browser.rb
browser2-1.0.0 lib/browser/meta/generic_browser.rb
browser-1.0.1 lib/browser/meta/generic_browser.rb
browser-1.0.0 lib/browser/meta/generic_browser.rb
browser-0.9.1 lib/browser/meta/generic_browser.rb
browser-0.9.0 lib/browser/meta/generic_browser.rb
browser-0.8.0 lib/browser/meta/generic_browser.rb
browser-0.7.2 lib/browser/meta/generic_browser.rb
browser-0.7.1 lib/browser/meta/generic_browser.rb
browser-0.7.0 lib/browser/meta/generic_browser.rb
browser-0.6.0 lib/browser/meta/generic_browser.rb
browser-0.5.0 lib/browser/meta/generic_browser.rb