[BioRuby-cvs] bioruby/lib/bio tree.rb,1.5,1.6

Naohisa Goto ngoto at dev.open-bio.org
Fri Dec 15 18:45:19 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio
In directory dev.open-bio.org:/tmp/cvs-serv20861/lib/bio

Modified Files:
	tree.rb 
Log Message:
find_node_by_name is renamed to get_node_by_name


Index: tree.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/tree.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** tree.rb	15 Dec 2006 18:43:10 -0000	1.5
--- tree.rb	15 Dec 2006 18:45:17 -0000	1.6
***************
*** 376,380 ****
      # If multiple nodes with the same name exist,
      # the result would be one of those (unspecified).
!     def find_node_by_name(str)
        self.each_node do |node|
          if get_node_name(node) == str
--- 376,380 ----
      # If multiple nodes with the same name exist,
      # the result would be one of those (unspecified).
!     def get_node_by_name(str)
        self.each_node do |node|
          if get_node_name(node) == str




More information about the bioruby-cvs mailing list