[BioRuby-cvs] bioruby/lib/bio/shell/plugin codon.rb,1.11,1.12

Katayama Toshiaki k at pub.open-bio.org
Sun Dec 18 21:34:27 EST 2005


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

Modified Files:
	codon.rb 
Log Message:
* fixed to pass the unit test (not output escape sequence in mono mode, completely)


Index: codon.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/plugin/codon.rb,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** codon.rb	7 Dec 2005 07:31:40 -0000	1.11
--- codon.rb	19 Dec 2005 02:34:24 -0000	1.12
***************
*** 178,182 ****
          text = header + table
        end
!       text.gsub(/^\s+#/, @colors[:text])
      end
  
--- 178,186 ----
          text = header + table
        end
!       if Bio::Shell.config[:color]
!         text.gsub(/^\s+#/, @colors[:text])
!       else
!         text.gsub(/^\s+#/, '')
!       end
      end
  



More information about the bioruby-cvs mailing list