[BioRuby-cvs] bioruby/lib/bio/io flatfile.rb,1.38,1.39

Naohisa Goto ngoto at pub.open-bio.org
Mon Oct 31 22:15:36 EST 2005


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

Modified Files:
	flatfile.rb 
Log Message:
Fixed typo and possibly unsuitable descriptions.


Index: flatfile.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile.rb,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** flatfile.rb	1 Nov 2005 02:56:11 -0000	1.38
--- flatfile.rb	1 Nov 2005 03:15:33 -0000	1.39
***************
*** 42,46 ****
      # which contains +dbclass+ data.
      #
!     # +dbclass+ shoud be a class (or module) or nil.
      # e.g. Bio::GenBank, Bio::FastaFormat.
      #
--- 42,46 ----
      # which contains +dbclass+ data.
      #
!     # +dbclass+ should be a class (or module) or nil.
      # e.g. Bio::GenBank, Bio::FastaFormat.
      #
***************
*** 223,226 ****
--- 223,227 ----
      end
  
+     # (Not recommended to use it.)
      # Sets position of input stream.
      # If the input stream is not a normal file,
***************
*** 248,252 ****
  
      # Similar to IO#gets.
!     # Internal use only. Users shold not call it directly.
      def gets(io_rs = $/)
        if @prefetch.size > 0
--- 249,253 ----
  
      # Similar to IO#gets.
!     # Internal use only. Users should not call it directly.
      def gets(io_rs = $/)
        if @prefetch.size > 0
***************
*** 304,308 ****
  
      # Similar to IO#ungetc.
!     # Internal use only. Users should not call it directly.
      def ungetc(c)
        @prefetch = sprintf("%c", c) + @prefetch
--- 305,309 ----
  
      # Similar to IO#ungetc.
!     # Internal use only. Users should not call it.
      def ungetc(c)
        @prefetch = sprintf("%c", c) + @prefetch
***************
*** 338,343 ****
      # If fails, returns nil or false. Otherwise, returns database class.
      #
!     # The method can be called anytime if you want (but not so recommended).
!     # It may be useful if input file is a mixture of muitiple format data.
      def autodetect(lines = 31)
        r = nil
--- 339,344 ----
      # If fails, returns nil or false. Otherwise, returns database class.
      #
!     # The method can be called anytime if you want (but not recommended).
!     # This might be useful if input file is a mixture of muitiple format data.
      def autodetect(lines = 31)
        r = nil



More information about the bioruby-cvs mailing list