зеркало из https://github.com/github/ruby.git
* ext/syck/lib/syck/basenode.rb (Syck::BaseNode#match_path): fixed
library name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
eedb41a85b
Коммит
ddafeb2f2a
|
@ -1,4 +1,7 @@
|
||||||
Wed Apr 14 11:37:52 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Apr 14 11:39:26 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/syck/lib/syck/basenode.rb (Syck::BaseNode#match_path): fixed
|
||||||
|
library name.
|
||||||
|
|
||||||
* ext/syck/lib/yaml/syck.rb: split from ext/syck/lib/syck.rb for
|
* ext/syck/lib/yaml/syck.rb: split from ext/syck/lib/syck.rb for
|
||||||
backward compatibility.
|
backward compatibility.
|
||||||
|
|
|
@ -82,7 +82,7 @@ module Syck
|
||||||
#
|
#
|
||||||
def match_path( ypath_str )
|
def match_path( ypath_str )
|
||||||
warn "#{caller[0]}: match_path is deprecated" if $VERBOSE
|
warn "#{caller[0]}: match_path is deprecated" if $VERBOSE
|
||||||
require 'yaml/ypath'
|
require 'syck/ypath'
|
||||||
depth = 0
|
depth = 0
|
||||||
matches = []
|
matches = []
|
||||||
YPath.each_path( ypath_str ) do |ypath|
|
YPath.each_path( ypath_str ) do |ypath|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче