Skip to content

Commit

Permalink
* doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.
Browse files Browse the repository at this point in the history
 * lib/irb/slex.rb: bug fix by [ruby-core :04707].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
keiju committed Apr 13, 2005
1 parent 8e8cd64 commit ff958cd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
Thu Apr 14 05:35:45 2005 Keiju Ishitsuka <keiju@gentoo>

* doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.

* lib/irb/slex.rb: bug fix by [ruby-core :04707].


Thu Apr 14 00:20:31 2005 Keiju Ishitsuka <keiju@ruby-lang.org>
* bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.

Expand Down
8 changes: 5 additions & 3 deletions doc/irb/irb.rd.ja
@@ -1,8 +1,8 @@
irb -- interactive ruby
$Release Version: 0.9 $
$Release Version: 0.9.5 $
$Revision$
$Date$
by Keiju ISHITSUKA(keiju@ishitsuka.com)
by Keiju ISHITSUKA(keiju@ruby-lang.org)
=begin
= irb�Ȥ�?

Expand Down Expand Up @@ -112,6 +112,7 @@ irb

IRB.conf[:PROMPT][:MY_PROMPT] = { # �ץ���ץȥ⡼�ɤ�̾��
:PROMPT_I => nil, # �̾�Υץ���ץ�
:PROMPT_N => nil, # ��³�ԤΥץ���ץ�
:PROMPT_S => nil, # ʸ����ʤɤη�³�ԤΥץ���ץ�
:PROMPT_C => nil, # ������³���Ƥ�����Υץ���ץ�
:RETURN => " ==>%s\n" # �꥿������Υץ���ץ�
Expand All @@ -126,7 +127,7 @@ OK

IRB.conf[:PROMPT_MODE] = :MY_PROMPT

PROMPT_I, PROMPT_S, PROMPT_C��, �ե����ޥåȤ���ꤷ�ޤ�.
PROMPT_I, PROMPT_N, PROMPT_S, PROMPT_C��, �ե����ޥåȤ���ꤷ�ޤ�.

%N ��ư���Ƥ��륳�ޥ��̾�����Ϥ����.
%m main���֥�������(self)��to_s�ǽ��Ϥ����.
Expand All @@ -141,6 +142,7 @@ PROMPT_I, PROMPT_S, PROMPT_C

IRB.conf[:PROMPT_MODE][:DEFAULT] = {
:PROMPT_I => "%N(%m):%03n:%i> ",
:PROMPT_N => "%N(%m):%03n:%i> ",
:PROMPT_S => "%N(%m):%03n:%i%l ",
:PROMPT_C => "%N(%m):%03n:%i* ",
:RETURN => "%s\n"
Expand Down
2 changes: 1 addition & 1 deletion lib/irb/slex.rb
Expand Up @@ -224,7 +224,7 @@ def match_io(io, op = "")
else
io.ungetc ch
if @postproc and @preproc.nil? || @preproc.call(op, io)
DOUT.exec_if(D_DETAIL) {printf "op2: %s\n", op.inspect}
DOUT.exec_if{D_DETAIL.printf "op2: %s\n", op.inspect}
@postproc.call(op, io)
else
nil
Expand Down

0 comments on commit ff958cd

Please sign in to comment.