[BioRuby-cvs] bioruby/lib/bio pathway.rb,1.34,1.35

Katayama Toshiaki k at dev.open-bio.org
Tue Jul 25 18:21:28 UTC 2006


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

Modified Files:
	pathway.rb 
Log Message:
* changed to RDoc format
* changed to Ruby's license


Index: pathway.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/pathway.rb,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** pathway.rb	18 Dec 2005 16:50:56 -0000	1.34
--- pathway.rb	25 Jul 2006 18:21:26 -0000	1.35
***************
*** 1,21 ****
  #
! # bio/pathway.rb - Binary relations and Graph algorithms
! #
! #   Copyright (C) 2001 KATAYAMA Toshiaki <k at bioruby.org>
! #                      KAWASHIMA Shuichi <s at bioruby.org>
! #
! #  This library is free software; you can redistribute it and/or
! #  modify it under the terms of the GNU Lesser General Public
! #  License as published by the Free Software Foundation; either
! #  version 2 of the License, or (at your option) any later version.
[...1476 lines suppressed...]
- --- Bio::Relation#eql?(rel)
- --- Bio::Relation#hash
- 
-       Method eql? is an alias of the === method and is used with hash method
-       to make uniq arry of the Bio::Relation objects.
- 
-         a1 = Bio::Relation.new('a', 'b', 1)
-         a2 = Bio::Relation.new('b', 'a', 1)
-         a3 = Bio::Relation.new('b', 'c', 1)
-         p [ a1, a2, a3 ].uniq
- 
- --- Bio::Relation#<=>(rel)
- 
-       Used by the each method to compare with another Bio::Relation object.
-       This method is only usable when the edge objects have the property of
-       the module Comparable.
- 
- =end
- 
--- 853,854 ----




More information about the bioruby-cvs mailing list