[BioRuby-cvs] bioruby/lib/bio/db genbank.rb,0.33,0.34

Katayama Toshiaki k at pub.open-bio.org
Sun Oct 23 03:00:18 EDT 2005


Update of /home/repository/bioruby/bioruby/lib/bio/db
In directory pub.open-bio.org:/tmp/cvs-serv8539

Modified Files:
	genbank.rb 
Log Message:
* changed to use autoload instead of require


Index: genbank.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/db/genbank.rb,v
retrieving revision 0.33
retrieving revision 0.34
diff -C2 -d -r0.33 -r0.34
*** genbank.rb	23 Aug 2004 23:40:35 -0000	0.33
--- genbank.rb	23 Oct 2005 07:00:15 -0000	0.34
***************
*** 21,26 ****
  #
  
! require 'bio/db/genbank/genbank'
! require 'bio/db/genbank/genpept'
! require 'bio/db/genbank/refseq'
! require 'bio/db/genbank/ddbj'
--- 21,32 ----
  #
  
! module Bio
!   autoload :NCBIDB,   'bio/db'
!   class NCBIDB
!     autoload :Common, 'bio/db/genbank/common'
!   end
!   autoload :GenBank,  'bio/db/genbank/genbank'
!   autoload :GenPept,  'bio/db/genbank/genpept'
!   autoload :RefSeq,   'bio/db/genbank/refseq'
!   autoload :DDBJ,     'bio/db/genbank/ddbj'
! end



More information about the bioruby-cvs mailing list