lib/nokogiri/xml/range.rb in nokogiri-xml-range-0.1.0 vs lib/nokogiri/xml/range.rb in nokogiri-xml-range-0.1.1
- old
+ new
@@ -1,22 +1,21 @@
# coding: utf-8
require 'nokogiri/xml/range/version'
require 'nokogiri'
require 'nokogiri/xml/range/refinement'
-require 'nokogiri/xml/replacable'
using Nokogiri::XML::Range::Refinement
module Nokogiri::XML
- class InvalidNodeTypeError < StandardError; end
- class IndexSizeError < StandardError; end
- class NotSupportedError < StandardError; end
- class WrongDocumentError < StandardError; end
- class HierarchyRequestError < StandardError; end
- class NotFoundError < StandardError; end
- class InvalidStateError < StandardError; end
-
class Range
+ class InvalidNodeTypeError < StandardError; end
+ class IndexSizeError < StandardError; end
+ class NotSupportedError < StandardError; end
+ class WrongDocumentError < StandardError; end
+ class HierarchyRequestError < StandardError; end
+ class NotFoundError < StandardError; end
+ class InvalidStateError < StandardError; end
+
START_TO_START = 0
START_TO_END = 1
END_TO_END = 2
END_TO_START = 3