Sha256: f4c12d8f37df458dba9ef6cb0f16edd7a62c771bb883e68a8f251c50b1dfcd0f

Contents?: true

Size: 322 Bytes

Versions: 19

Compression:

Stored size: 322 Bytes

Contents

class Browser
  module Meta
    class IE < Base
      def version
        @version ||= browser.version.to_i
      end

      def meta
        return unless browser.ie?

        meta = ""
        meta << "oldie lt-ie8 lt-ie9" if version < 8
        meta << "lt-ie9" if version == 8
        meta
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
browser-1.1.0 lib/browser/meta/ie.rb
browser2-1.0.0 lib/browser/meta/ie.rb
browser-1.0.1 lib/browser/meta/ie.rb
browser-1.0.0 lib/browser/meta/ie.rb
browser-0.9.1 lib/browser/meta/ie.rb
browser-0.9.0 lib/browser/meta/ie.rb
browser-0.8.0 lib/browser/meta/ie.rb
browser-0.7.2 lib/browser/meta/ie.rb
browser-0.7.1 lib/browser/meta/ie.rb
browser-0.7.0 lib/browser/meta/ie.rb
browser-0.6.0 lib/browser/meta/ie.rb
browser-0.5.0 lib/browser/meta/ie.rb
browser-0.4.1 lib/browser/meta/ie.rb
browser-0.4.0 lib/browser/meta/ie.rb
browser-0.3.2 lib/browser/meta/ie.rb
browser-0.3.1 lib/browser/meta/ie.rb
browser-0.3.0 lib/browser/meta/ie.rb
browser-0.2.1 lib/browser/meta/ie.rb
browser-0.2.0 lib/browser/meta/ie.rb