mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/xpath_parser.rb: Fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0c15b6da9
commit
1513550611
2 changed files with 14 additions and 10 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Feb 22 23:17:01 2014 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rexml/xpath_parser.rb: Fix indent.
|
||||
|
||||
Sat Feb 22 23:15:35 2014 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* test/rexml/xpath/test_attribute.rb: Simplify.
|
||||
|
|
|
@ -63,19 +63,19 @@ module REXML
|
|||
end
|
||||
|
||||
def parse path, nodeset
|
||||
#puts "#"*40
|
||||
path_stack = @parser.parse( path )
|
||||
#puts "PARSE: #{path} => #{path_stack.inspect}"
|
||||
#puts "PARSE: nodeset = #{nodeset.inspect}"
|
||||
match( path_stack, nodeset )
|
||||
#puts "#"*40
|
||||
path_stack = @parser.parse( path )
|
||||
#puts "PARSE: #{path} => #{path_stack.inspect}"
|
||||
#puts "PARSE: nodeset = #{nodeset.inspect}"
|
||||
match( path_stack, nodeset )
|
||||
end
|
||||
|
||||
def get_first path, nodeset
|
||||
#puts "#"*40
|
||||
path_stack = @parser.parse( path )
|
||||
#puts "PARSE: #{path} => #{path_stack.inspect}"
|
||||
#puts "PARSE: nodeset = #{nodeset.inspect}"
|
||||
first( path_stack, nodeset )
|
||||
#puts "#"*40
|
||||
path_stack = @parser.parse( path )
|
||||
#puts "PARSE: #{path} => #{path_stack.inspect}"
|
||||
#puts "PARSE: nodeset = #{nodeset.inspect}"
|
||||
first( path_stack, nodeset )
|
||||
end
|
||||
|
||||
def predicate path, nodeset
|
||||
|
|
Loading…
Reference in a new issue