Sha256: 10947669fb3d1824696b0f5c49cf1c6d0983db6ba820e94e2a40efe467606c72

Contents?: true

Size: 271 Bytes

Versions: 20

Compression:

Stored size: 271 Bytes

Contents

module Nokogiri
  module XML
    class SyntaxError < SyntaxError
      def none?
        level == 0
      end

      def warning?
        level == 1
      end

      def error?
        level == 2
      end

      def fatal?
        level == 3
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
tenderlove-nokogiri-0.0.0-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.0-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.0 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.1 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.4 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.4-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.5-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.2 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.3 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.3-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.6-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.5 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.6 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.7-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.1.1-java lib/nokogiri/xml/syntax_error.rb
nokogiri-1.1.1-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.1.0-x86-mswin32-60 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.0.7 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.1.0 lib/nokogiri/xml/syntax_error.rb
nokogiri-1.1.1 lib/nokogiri/xml/syntax_error.rb