[BioRuby-cvs] bioruby/lib/bio/io/flatfile index.rb,1.16,1.17

Naohisa Goto ngoto at pub.open-bio.org
Wed Feb 22 07:01:07 UTC 2006


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

Modified Files:
	index.rb 
Log Message:
changed STDERR to $stderr


Index: index.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/index.rb,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** index.rb	29 Jan 2006 10:06:43 -0000	1.16
--- index.rb	22 Feb 2006 07:01:05 -0000	1.17
***************
*** 414,425 ****
      # Module for output debug messages.
      # Default setting: If $DEBUG or $VERBOSE is true, output debug
!     # messages to STDERR; Otherwise, don't output messages.
      #
      module DEBUG
!       @@out = STDERR
        @@flag = nil
  
        # Set debug messages output destination.
!       # If true is given, outputs to STDERR.
        # If nil is given, outputs nothing.
        # This method affects ALL of FlatFileIndex related objects/methods.
--- 414,425 ----
      # Module for output debug messages.
      # Default setting: If $DEBUG or $VERBOSE is true, output debug
!     # messages to $stderr; Otherwise, don't output messages.
      #
      module DEBUG
!       @@out = $stderr
        @@flag = nil
  
        # Set debug messages output destination.
!       # If true is given, outputs to $stderr.
        # If nil is given, outputs nothing.
        # This method affects ALL of FlatFileIndex related objects/methods.
***************
*** 428,432 ****
          if io then
            @@out = io
!           @@out = STDERR if io == true
            @@flag = true
          else
--- 428,432 ----
          if io then
            @@out = io
!           @@out = $stderr if io == true
            @@flag = true
          else




More information about the bioruby-cvs mailing list