[BioRuby-cvs] bioruby/lib/bio/shell/plugin keggapi.rb,1.8,1.9

Katayama Toshiaki k at pub.open-bio.org
Mon Feb 6 06:17:55 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/shell/plugin
In directory pub.open-bio.org:/tmp/cvs-serv32570/shell/plugin

Modified Files:
	keggapi.rb 
Log Message:
* improved to accept other WSDL


Index: keggapi.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/keggapi.rb,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** keggapi.rb	18 Dec 2005 15:47:33 -0000	1.8
--- keggapi.rb	6 Feb 2006 06:17:53 -0000	1.9
***************
*** 41,46 ****
    private
  
!   def keggapi
!     @keggapi ||= Bio::KEGG::API.new  
    end
  
--- 41,51 ----
    private
  
!   def keggapi(wsdl = nil)
!     if wsdl
!       @keggapi = Bio::KEGG::API.new(wsdl)
!     else
!       @keggapi ||= Bio::KEGG::API.new
!     end
!     return @keggapi
    end
  




More information about the bioruby-cvs mailing list