[BioRuby-cvs] bioruby/bin bioruby,1.7,1.8
Katayama Toshiaki
k at pub.open-bio.org
Sun Nov 27 12:39:02 EST 2005
Update of /home/repository/bioruby/bioruby/bin
In directory pub.open-bio.org:/tmp/cvs-serv7339/bin
Modified Files:
bioruby
Log Message:
* Bio::Shell::Core::Config and Bio::Shell::Core::Cache are changed to
@config and @cache which are initialized in Bio::Shell.setup as a Hash
and have accessors (Bio::Shell.config, Bio::Shell.cache).
Index: bioruby
===================================================================
RCS file: /home/repository/bioruby/bioruby/bin/bioruby,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** bioruby 24 Nov 2005 19:30:07 -0000 1.7
--- bioruby 27 Nov 2005 17:39:00 -0000 1.8
***************
*** 48,54 ****
begin
require 'irb/completion'
! Bio::Shell.cache(:readline, true)
rescue LoadError
! Bio::Shell.cache(:readline, false)
end
--- 48,54 ----
begin
require 'irb/completion'
! Bio::Shell.cache[:readline] = true
rescue LoadError
! Bio::Shell.cache[:readline] = false
end
***************
*** 72,81 ****
:RETURN => " ==> %s\n"
}
! if Bio::Shell.config(:color)
IRB.conf[:PROMPT_MODE] = :BIORUBY_COLOR
else
IRB.conf[:PROMPT_MODE] = :BIORUBY
end
! IRB.conf[:ECHO] = Bio::Shell.config(:echo) || false
# irb/input-method.rb >= v1.5 (not in 1.8.2)
--- 72,81 ----
:RETURN => " ==> %s\n"
}
! if Bio::Shell.config[:color]
IRB.conf[:PROMPT_MODE] = :BIORUBY_COLOR
else
IRB.conf[:PROMPT_MODE] = :BIORUBY
end
! IRB.conf[:ECHO] = Bio::Shell.config[:echo] || false
# irb/input-method.rb >= v1.5 (not in 1.8.2)
More information about the bioruby-cvs
mailing list