[BioRuby-cvs] bioruby/lib/bio pathway.rb,1.31,1.32
Katayama Toshiaki
k at pub.open-bio.org
Sun Oct 23 05:49:00 EDT 2005
Update of /home/repository/bioruby/bioruby/lib/bio
In directory pub.open-bio.org:/tmp/cvs-serv18907
Modified Files:
pathway.rb
Log Message:
* Changed to RDoc format
Index: pathway.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/pathway.rb,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** pathway.rb 23 Oct 2005 09:11:27 -0000 1.31
--- pathway.rb 23 Oct 2005 09:48:58 -0000 1.32
***************
*** 1,7 ****
#
! # 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
--- 1,21 ----
#
! # = bio/pathway.rb - Binary relations and Graph algorithms
[...1486 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
-
--- 883,884 ----
More information about the bioruby-cvs
mailing list