1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/doc/irb/irb.rd.ja

412 lines
11 KiB
Text
Raw Normal View History

irb -- interactive ruby
$Release Version: 0.9 $
$Revision$
$Date$
by Keiju ISHITSUKA(keiju@ishitsuka.com)
=begin
= irb<72>Ȥ<EFBFBD>?
irb<EFBFBD><EFBFBD>interactive ruby<62><79>ά<EFBFBD>Ǥ<EFBFBD>. ruby<62>μ<EFBFBD><CEBC><EFBFBD>ɸ<EFBFBD><C9B8><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD><EFBFBD>ñ<EFBFBD><C3B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F>¹Ԥ<C2B9><D4A4><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υġ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>.
= <20><>ư
% irb
<EFBFBD>ǹԤʤ<EFBFBD><EFBFBD>ޤ<EFBFBD>.
= <20>Ȥ<EFBFBD><C8A4><EFBFBD>
irb<EFBFBD>λȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, Ruby<62><79><EFBFBD><EFBFBD><EFBFBD>ΤäƤ<C3A4><C6A4><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4><EFBFBD><EFBFBD>äƴ<C3A4>ñ<EFBFBD>Ǥ<EFBFBD>. <20><><EFBFBD><EFBFBD>Ū<EFBFBD>ˤ<EFBFBD> irb <20><>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD>¹Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>. irb<72><62><EFBFBD>¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD><EFBFBD>, <20>ʲ<EFBFBD><CAB2>Τ<CEA4>ʥץ<CAA5><D7A5><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>Ȥ<EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD>. <20><><EFBFBD><EFBFBD>, ruby<62>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʋ<EFBFBD><C6B2><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EBA4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ¹<C7BC>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>.
dim% irb
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1> end
nil
irb(main):007:0>
<EFBFBD>ޤ<EFBFBD>, irb<72><62>Readline<6E><EFBFBD><EFBFBD><E5A1BC><EFBFBD>ˤ<EFBFBD><CBA4>б<EFBFBD><D0B1><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD>. Readline<6E><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>󥹥ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Τ<EFBFBD>ɸ<EFBFBD><C9B8><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>ˤʤ<CBA4><CAA4>ޤ<EFBFBD>.
= <20><><EFBFBD>ޥ<EFBFBD><DEA5>ɥ<EFBFBD><C9A5>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD><EFBFBD>
irb.rb [options] file_name opts
options:
-f ~/.irbrc <20><><EFBFBD>ɤ߹<C9A4><DFB9>ޤʤ<DEA4>.
-m bc<62><EFBFBD><E2A1BC><><CAAC>, <20><><EFBFBD><EFBFBD><EFBFBD>η׻<CEB7><D7BB><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>)
-d $DEBUG <20><>true<75>ˤ<EFBFBD><CBA4><EFBFBD>(ruby -d <20><>Ʊ<EFBFBD><C6B1>)
-Kc ruby -Kc<4B><63>Ʊ<EFBFBD><C6B1>
-r load-module ruby -r <20><>Ʊ<EFBFBD><C6B1>.
--verbose <20><><EFBFBD><EFBFBD><ECA4AB><EFBFBD>¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD>Ԥ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>ǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD>)
--noverbose <20><><EFBFBD><EFBFBD><ECA4AB><EFBFBD>¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD>Ԥ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD>
--echo <20>¹Է<C2B9><D4B7>̤<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>ǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD>)
--noecho <20>¹Է<C2B9><D4B7>̤<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD>
--inspect <20><><EFBFBD>̽<EFBFBD><CCBD>Ϥ<EFBFBD>inspect<63><74><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>(bc<62><EFBFBD>ɰʳ<C9B0><CAB3>ϥǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD>).
--noinspect <20><><EFBFBD>̽<EFBFBD><CCBD>Ϥ<EFBFBD>inspect<63><74><EFBFBD>Ѥ<EFBFBD><D1A4>ʤ<EFBFBD>.
--readline readline<6E><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>.
--noreadline readline<6E><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4>ʤ<EFBFBD>. <20>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD>,
inf-reuby-mode<64>ʳ<EFBFBD><CAB3><EFBFBD>readline<6E><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4>
<20>Ȥ<EFBFBD><C8A4><EFBFBD>.
--prompt prompt-mode
--prompt-mode prompt-mode
<20>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץȥ⡼<C8A5>ɤ<EFBFBD><C9A4><EFBFBD><EFBFBD>ؤ<EFBFBD><D8A4>ޤ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>ץȥ⡼<C8A5>ɤ<EFBFBD>, default, simple, xmp, inf-ruby<62><79>
<20>Ѱդ<D1B0><D5A4><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4>ޤ<EFBFBD>. <20>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>default<6C>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץȥ⡼
<20>ɤˤʤäƤ<C3A4><C6A4>ޤ<EFBFBD>.
--inf-ruby-mode emacs<63><73>inf-ruby-mode<64>ѤΥץ<CEA5><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4>. <20><>
<20>˻<EFBFBD><CBBB><EFBFBD>ʤ<EFBFBD><CAA4>¤<EFBFBD>, readline<6E><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD>ϻȤ<CFBB><C8A4>ʤ<EFBFBD><CAA4>ʤ<EFBFBD>.
--simple-prompt
<20><><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5>ʥץ<CAA5><D7A5><EFBFBD><EFBFBD>ץȤ<D7A5><C8A4>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD><EFBFBD>ɤǤ<C9A4>.
--noprompt <20>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4><CAA4>ʤ<EFBFBD>.
--tracer <20><><EFBFBD>ޥ<EFBFBD><DEA5>ɼ¹Ի<C2B9><D4BB>˥ȥ졼<C8A5><ECA1BC><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4>.
--back-trace-limit n
<20>Хå<D0A5><C3A5>ȥ졼<C8A5><ECA1BC>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>Хå<D0A5><C3A5>ȥ졼<C8A5><ECA1BC><EFBFBD><EFBFBD>Ƭ<EFBFBD><C6AC><EFBFBD><EFBFBD> n, <20><><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4>. <20>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>16
--irb_debug n irb<72>ΥǥХå<D0A5><C3A5>ǥХå<D0A5><C3A5><EFBFBD><EFBFBD>٥<EFBFBD><D9A5><EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA4B9>(<28><><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>Ǥ<EFBFBD><C7A4>礦).
-v, --version irb<72>ΥС<CEA5><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
= <20><><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><ECA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
irb<EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD><EFBFBD>``~/.irbrc''<27><><EFBFBD>ɤ߹<C9A4><DFB9>ߤޤ<DFA4>. <20>¸<E2A4B7>ߤ<EFBFBD><DFA4>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
``.irbrc'', ``irb.rc'', ``_irbrc'', ``$irbrc''<27>ν<EFBFBD><CEBD><EFBFBD>load<61><64><EFBFBD><EFBFBD><EFBFBD>ߤޤ<DFA4>.
<EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>ʲ<EFBFBD><CAB2>Υ<EFBFBD><CEA5>ޥ<EFBFBD><DEA5>ɤǤ<C9A4><C7A4>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>Ǥ<EFBFBD><EFBFBD>ޤ<EFBFBD>.
IRB.conf[:IRB_NAME]="irb"
IRB.conf[:MATH_MODE]=false
IRB.conf[:USE_TRACER]=false
IRB.conf[:USE_LOADER]=false
IRB.conf[:IGNORE_SIGINT]=true
IRB.conf[:IGNORE_EOF]=false
IRB.conf[:INSPECT_MODE]=nil
IRB.conf[:IRB_RC] = nil
IRB.conf[:BACK_TRACE_LIMIT]=16
IRB.conf[:USE_LOADER] = false
IRB.conf[:USE_READLINE] = nil
IRB.conf[:USE_TRACER] = false
IRB.conf[:IGNORE_SIGINT] = true
IRB.conf[:IGNORE_EOF] = false
IRB.conf[:PROMPT_MODE] = :DEFALUT
IRB.conf[:PROMPT] = {...}
IRB.conf[:DEBUG_LEVEL]=0
IRB.conf[:VERBOSE]=true
== <20>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץȤ<D7A5><C8A4><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץȤ򥫥<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD>,
IRB.conf[:PROMPT]
<EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD>ޤ<EFBFBD>. <20><EFBFBD><E3A4A8>, .irbrc<72><63><EFBFBD><EFBFBD><EFBFBD>Dz<EFBFBD><C7B2>Τ<CEA4>ʼ<EFBFBD><CABC>򵭽Ҥ<F2B5ADBD><D2A4>ޤ<EFBFBD>:
IRB.conf[:PROMPT][:MY_PROMPT] = { # <20>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץȥ⡼<C8A5>ɤ<EFBFBD>̾<EFBFBD><CCBE>
:PROMPT_I => nil, # <20>̾<EFBFBD><CCBE>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MODE][:DEFAULT] = {
:PROMPT_I => "%N(%m):%03n:%i> ",
:PROMPT_S => "%N(%m):%03n:%i%l ",
:PROMPT_C => "%N(%m):%03n:%i* ",
:RETURN => "%s\n"
}
<EFBFBD>ȤʤäƤ<EFBFBD><EFBFBD>ޤ<EFBFBD>.
RETURN<EFBFBD><EFBFBD>, <20><><EFBFBD>ߤΤȤ<CEA4><C8A4><EFBFBD>printf<74><66><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD><CDA4>Ѥ<EFBFBD><D1A4><EFBFBD><EBA4AB><EFBFBD>Τ<EFBFBD><CEA4>ޤ<EFBFBD><DEA4><EFBFBD>.
== <20><><EFBFBD><EFBFBD>irb<72><62><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>ɥ饤<EFBFBD>󥪥ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>󤪤<EFBFBD><EFBFBD><EFBFBD>IRB.conf<6E><66>(<28><><EFBFBD><EFBFBD>)irb<72><62>ư<EFBFBD><C6B0><EFBFBD>Υǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD>, `5. <20><><EFBFBD>ޥ<EFBFBD><DEA5><EFBFBD>'<27>ˤ<EFBFBD><CBA4><EFBFBD>conf<6E>Ǹ<EFBFBD><C7B8>̤<EFBFBD>(<28><><EFBFBD><EFBFBD>)irb<72><62><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA4AC>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤʤäƤ<EFBFBD><EFBFBD>ޤ<EFB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BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><>ñ<EFBFBD><C3B1>̾<EFBFBD><CCBE><EFBFBD><EFBFBD>override<64><65><EFBFBD>줿<EFBFBD><ECA4BF><EFBFBD>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>Ǥ<EFBFBD>.
--- exit, quit, irb_exit
<20><>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>.
<20><><EFBFBD><EFBFBD>irb<72>ξ<EFBFBD><CEBE><EFBFBD>, <20><><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD>irb<72><62><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>.
--- conf, irb_context
irb<72>θ<EFBFBD><CEB8>ߤ<EFBFBD><DFA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>, conf<6E>˥<EFBFBD><CBA5>å<EFBFBD><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20>Ȥˤ<C8A4><CBA4>äƹԤʤ<D4A4><CAA4><EFBFBD>.
--- conf.eval_history = N
<20>¹Է<C2B9><D4B7>̤Υҥ<CEA5><D2A5>ȥ굡ǽ<EAB5A1><C7BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
nn<6E><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>nil<69><6C> nn>0 <20>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҥ<EFBFBD><D2A5>ȥ<EFBFBD><C8A5>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD>롣nn==0<>λ<EFBFBD><CEBB><EFBFBD>
̵<><CCB5><EFBFBD>¤˵<C2A4><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롢nil<69><6C><EFBFBD>ȥҥ<C8A5><D2A5>ȥ굡ǽ<EAB5A1>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD><EFBFBD>(<28>ǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD>).
--- Conf.back_trace_limit
<20>Хå<D0A5><C3A5>ȥ졼<C8A5><ECA1BC>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>Хå<D0A5><C3A5>ȥ졼<C8A5><ECA1BC><EFBFBD><EFBFBD>Ƭ<EFBFBD><C6AC><EFBFBD><EFBFBD>n, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4>.
<20>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>16
--- conf.debug_level = N
irb<72>ѤΥǥХå<D0A5><C3A5><EFBFBD><EFBFBD>٥<EFBFBD><D9A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
--- conf.ignore_eof = true/false
^D<><44><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4>줿<EFBFBD><ECA4BF><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA4B9>. true<75>λ<EFBFBD><CEBB><EFBFBD>^D<><44>̵<EFBFBD><EFBFBD><EBA4B9>, false<73><65>
<20><><EFBFBD><EFBFBD>irb<72><62><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>.
--- conf.ignore_sigint= true/false
^C<><43><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4>줿<EFBFBD><ECA4BF><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA4B9>. false<73><65><EFBFBD><EFBFBD>, irb<72><62><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD>. true<75><65>
<20><><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD>ϰʲ<CFB0><CAB2>Τ<CEA4>ˤʤ<CBA4>:
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ򥭥<CEA4><F2A5ADA5>󥻥뤷<F3A5BBA5>ȥåץ<C3A5><D7A5>٥<EFBFBD><D9A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
<20>¹<EFBFBD><C2B9><EFBFBD>: <20>¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD>ߤ<EFBFBD><DFA4><EFBFBD>.
--- conf.inf_ruby_mode = true/false
inf-ruby-mode<64>ѤΥץ<CEA5><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4>. <20>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥ<EFBFBD>false.
--- conf.inspect_mode = true/false/nil
<20><><EFBFBD>󥹥ڥ<F3A5B9A5><DAA5>ȥ⡼<C8A5>ɤ<EFBFBD><C9A4><EFBFBD><EFBFBD><EFBFBD><EAA4B9>.
true: <20><><EFBFBD>󥹥ڥ<F3A5B9A5><DAA5>Ȥ<EFBFBD><C8A4><EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
false: <20>̾<EFBFBD><CCBE><EFBFBD>print<6E><74>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
nil: <20>̾<EFBFBD><CCBE><EFBFBD>ɤǤ<C9A4><C7A4><EFBFBD><EFBFBD><EFBFBD>, inspect mode<64>Ȥʤ<C8A4>, math<74><EFBFBD>ɤλ<C9A4><CEBB><EFBFBD>, non
inspect mode<64>Ȥʤ<C8A4>.
--- conf.math_mode
<20><><EFBFBD>ȤΤ<C8A4>. bc<62><EFBFBD><E2A1BC><><CAAC>, <20><><EFBFBD><EFBFBD><EFBFBD>η׻<CEB7><D7BB><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4>ޤ<EFBFBD>)<29><><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD>?
--- conf.use_loader = true/false
load/require<72><65><EFBFBD><EFBFBD>irb<72><62>file<6C>ɤ߹<C9A4><DFB9>ߵ<EFBFBD>ǽ<EFBFBD><C7BD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD><EFBFBD>ɤΥ<C9A4><CEA5><EFBFBD><EFBFBD>å<EFBFBD>(<28>ǥե<C7A5>
<20><><EFBFBD>Ȥ<EFBFBD><C8A4>Ѥ<EFBFBD><D1A4>ʤ<EFBFBD>). <20><><EFBFBD>Υ<CEA5>ɤ<EFBFBD>IRB<52><42><EFBFBD>Τ<EFBFBD>ȿ<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD><EFBFBD>.
--- conf.prompt_c
if<69><66>ľ<EFBFBD><C4BE><EFBFBD>ʤ<EFBFBD>, <20>Ԥ<EFBFBD><D4A4><EFBFBD>³<EFBFBD><C2B3><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υץ<CEA5><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>.
--- conf.prompt_i
<20>̾<EFBFBD><CCBE>Υץ<CEA5><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>.
--- conf.prompt_s
ʸ<><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤɤ<CAA4>ɽ<EFBFBD><C9BD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>.
--- conf.rc
~/.irbrc<72><63><EFBFBD>ɤ߹<C9A4><DFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD>?
--- conf.use_prompt = true/false
<20>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>ץ<EFBFBD>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD>? <20>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>ȤǤϥץ<CFA5><D7A5><EFBFBD><EFBFBD>ץȤ<D7A5>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
--- conf.use_readline = true/false/nil
readline<6E><65><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD>?
true: readline<6E><65><EFBFBD>Ȥ<EFBFBD>.
false: readline<6E><65><EFBFBD>Ȥ<EFBFBD><C8A4>ʤ<EFBFBD>.
nil: (<28>ǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD>)inf-reuby-mode<64>ʳ<EFBFBD><CAB3><EFBFBD>readline<6E><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD>
<20><><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>.
#
#--- conf.verbose=T/F
# irb<72><62><EFBFBD><EFBFBD><E9A4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʥ<EFBFBD><CAA5>å<EFBFBD><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4>뤫?
--- cws, chws, irb_cws, irb_chws, irb_change_workspace [obj]
obj<62><6A>self<6C>Ȥ<EFBFBD><C8A4><EFBFBD>. obj<62><6A><EFBFBD><EFBFBD>ά<EFBFBD><CEAC><EFBFBD>줿<EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>, home workspace, <20><><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD>
irb<72><62><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>main object<63><74>self<6C>Ȥ<EFBFBD><C8A4><EFBFBD>.
--- pushws, irb_pushws, irb_push_workspace [obj]
UNIX<49><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><DEA5>ɤ<EFBFBD>pushd<68><64>Ʊ<EFBFBD><C6B1>.
--- popws, irb_popws, irb_pop_workspace
UNIX<49><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><DEA5>ɤ<EFBFBD>popd<70><64>Ʊ<EFBFBD><C6B1>.
--- irb [obj]
<20><><EFBFBD><EFBFBD>irb<72><62>Ω<EFBFBD><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. obj<62><6A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>줿<EFBFBD><ECA4BF><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>obj<62><6A>self<6C>Ȥ<EFBFBD><C8A4><EFBFBD>.
--- jobs, irb_jobs
<20><><EFBFBD><EFBFBD>irb<72>Υ<CEA5><EAA5B9>
--- fg n, irb_fg n
<20><><EFBFBD><EFBFBD><EAA4B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>irb<72>˥<EFBFBD><CBA5><EFBFBD><EFBFBD>å<EFBFBD><C3A5><EFBFBD><EFBFBD><EFBFBD>. n<><6E>, <20><><EFBFBD>Τ<EFBFBD><CEA4>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD><EFBFBD><EAA4B9>.
irb<72>ֹ<EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD>
irb<72><62><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
self(irb obj<62>ǵ<EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>obj)
--- kill n, irb_kill n
<20><><EFBFBD><EFBFBD>irb<72><62>kill<6C><6C><EFBFBD><EFBFBD>. n<><6E>fg<66><67>Ʊ<EFBFBD><C6B1>.
--- souce, irb_source path
UNIX<49><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><DEA5>ɤ<EFBFBD>source<63>Ȼ<EFBFBD><C8BB>Ƥ<EFBFBD><C6A4><EFBFBD>. <20><><EFBFBD>ߤδĶ<CEB4><C4B6><EFBFBD><EFBFBD><EFBFBD>path<74><68><EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD>
<20>ץȤ<D7A5>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
--- irb_load path, prev
Ruby<62><79>load<61><64>irb<72><62>.
= <20><><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>ѿ<EFBFBD>
--- _
<20><><EFBFBD>η׻<CEB7><D7BB>μ¹Է<C2B9><D4B7>̤<EFBFBD><CCA4>Ф<EFBFBD><D0A4>Ƥ<EFBFBD><C6A4><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѿ<EFBFBD>).
___ __
<20>¹Է<C2B9><D4B7>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ф<EFBFBD><D0A4>Ƥ<EFBFBD><C6A4><EFBFBD>.
__[line_no]<5D>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>ιԤǼ¹Ԥ<C2B9><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4><EFBFBD>. line_no<6E><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<20><><EFBFBD>ˤϡ<CBA4><CFA1>ǿ<EFBFBD><C7BF>η<EFBFBD><CEB7>̤<EFBFBD><CCA4><EFBFBD>-line_no<6E><6F><EFBFBD>η<EFBFBD><CEB7>̤<EFBFBD><CCA4><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4><EFBFBD>.
= <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>ʲ<EFBFBD><EFBFBD>Τ<EFBFBD>ʴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>.
dim% ruby irb.rb
irb(main):001:0> irb # <20><><EFBFBD><EFBFBD>irb<72><62>Ω<EFBFBD><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
irb#1(main):001:0> jobs # <20><><EFBFBD><EFBFBD>irb<72>Υ<CEA5><EAA5B9>
#0->irb on main (#<Thread:0x400fb7e4> : stop)
#1->irb#1 on main (#<Thread:0x40125d64> : running)
nil
irb#1(main):002:0> fg 0 # job<6F>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD>å<EFBFBD>
nil
irb(main):002:0> class Foo;end
nil
irb(main):003:0> irb Foo # Foo<6F>򥳥<EFBFBD><F2A5B3A5>ƥ<EFBFBD><C6A5><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>irb
# Ω<><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
irb#2(Foo):001:0> def foo # Foo#foo<6F><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
irb#2(Foo):002:1> print 1
irb#2(Foo):003:1> end
nil
irb#2(Foo):004:0> fg 0 # job<6F>򥹥<EFBFBD><F2A5B9A5>å<EFBFBD>
nil
irb(main):004:0> jobs # job<6F>Υ<CEA5><EAA5B9>
#0->irb on main (#<Thread:0x400fb7e4> : running)
#1->irb#1 on main (#<Thread:0x40125d64> : stop)
#2->irb#2 on Foo (#<Thread:0x4011d54c> : stop)
nil
irb(main):005:0> Foo.instance_methods # Foo#foo<6F><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
# <20><><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD>
["foo"]
irb(main):006:0> fg 2 # job<6F>򥹥<EFBFBD><F2A5B9A5>å<EFBFBD>
nil
irb#2(Foo):005:0> def bar # Foo#bar<61><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
irb#2(Foo):006:1> print "bar"
irb#2(Foo):007:1> end
nil
irb#2(Foo):010:0> Foo.instance_methods
["bar", "foo"]
irb#2(Foo):011:0> fg 0
nil
irb(main):007:0> f = Foo.new
#<Foo:0x4010af3c>
irb(main):008:0> irb f # Foo<6F>Υ<EFBFBD><CEA5>󥹥<EFBFBD><F3A5B9A5>󥹤<EFBFBD>irb<72><62>
# Ω<><CEA9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
irb#3(#<Foo:0x4010af3c>):001:0> jobs
#0->irb on main (#<Thread:0x400fb7e4> : stop)
#1->irb#1 on main (#<Thread:0x40125d64> : stop)
#2->irb#2 on Foo (#<Thread:0x4011d54c> : stop)
#3->irb#3 on #<Foo:0x4010af3c> (#<Thread:0x4010a1e0> : running)
nil
irb#3(#<Foo:0x4010af3c>):002:0> foo # f.foo<6F>μ¹<CEBC>
nil
irb#3(#<Foo:0x4010af3c>):003:0> bar # f.bar<61>μ¹<CEBC>
barnil
irb#3(#<Foo:0x4010af3c>):004:0> kill 1, 2, 3# job<6F><62>kill
nil
irb(main):009:0> jobs
#0->irb on main (#<Thread:0x400fb7e4> : running)
nil
irb(main):010:0> exit # <20><>λ
dim%
= <20><><EFBFBD>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
irb<EFBFBD><EFBFBD>, ɾ<><C9BE><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29>Ǥ<EFBFBD><C7A4><EFBFBD>¹Ԥ<C2B9><D4A4>Ԥʤ<D4A4><CAA4>ޤ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>, ruby<62><79>ľ<EFBFBD>ܻȤä<C8A4><C3A4><EFBFBD><EFBFBD><EFBFBD>, <20><EFBFBD>ۤʤ<DBA4>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<D4A4><CAA4><EFBFBD><EFBFBD><EFBFBD><E7A4AC><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>.
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤʤäƤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>.
== <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѿ<EFBFBD><D1BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ruby<EFBFBD>Ǥ<EFBFBD>, <20>ʲ<EFBFBD><CAB2>Υץ<CEA5><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϥ<EFBFBD><CFA5><EFBFBD>ˤʤ<CBA4><CAA4>ޤ<EFBFBD>.
eval "foo = 0"
foo
--
-:2: undefined local variable or method `foo' for #<Object:0x40283118> (NameError)
---
NameError
<EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, irb<72><62><EFBFBD>Ѥ<EFBFBD><D1A4><EFBFBD><EFBFBD><EFBFBD>
>> eval "foo = 0"
=> 0
>> foo
=> 0
<EFBFBD>Ȥʤ<EFBFBD>, <20><><EFBFBD><EFBFBD>򵯤<EFBFBD><F2B5AFA4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, ruby<62><79><EFBFBD>ǽ<EFBFBD><C7BD>˥<EFBFBD><CBA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><D7A5><EFBFBD><EFBFBD>Τ򥳥<CEA4>
<EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ф<EFBFBD>, irb<72>ϼ¹Բ<C2B9>ǽ<EFBFBD><C7BD>
<EFBFBD>ʤ<EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>Ĥ<EFBFBD><C4A4><EFBFBD>)<29>ȼ<EFBFBD>ưŪ<C6B0><C5AA>ɾ<EFBFBD><C9BE><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EBA4AB><EFBFBD>Ǥ<EFBFBD>. <20><EFBFBD><E5B5AD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>,
evel "foo = 0"
<EFBFBD><EFBFBD><EFBFBD>Ԥʤä<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥʤ<EFBFBD>, <20><><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѿ<EFBFBD><D1BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤿<EFBFBD><EBA4BF>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>ѿ<EFBFBD>foo<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>.
<EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD>ruby<EFBFBD><EFBFBD>irb<EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD>ΰ㤤<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, begin...end<6E>dz<EFBFBD><C7B3>ä<EFBFBD>
<EFBFBD>Хå<EFBFBD>Ū<EFBFBD>˼¹Ԥ<EFBFBD><EFBFBD>Ʋ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
>> begin
?> eval "foo = 0"
>> foo
>> end
NameError: undefined local variable or method `foo' for #<Object:0x4013d0f0>
(irb):3
(irb_local_binding):1:in `eval'
== <20>ҥ<EFBFBD><D2A5>ɥ<EFBFBD><C9A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>ߤΤȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҥ<EFBFBD><EFBFBD>ɥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥμ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD>.
== <20><><EFBFBD><EFBFBD><EFBFBD>ܥ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܥ<EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƚ<EFBFBD>Ǥ<EFBFBD><EFBFBD>ְ㤨<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>. <20><><EFBFBD><EFBFBD>Ū<EFBFBD>ˤϼ<CBA4><CFBC><EFBFBD><EFBFBD><EFBFBD>λ
<EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ˷<EFBFBD>³<EFBFBD>Ԥȸ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD>.
=end
% Begin Emacs Environment
% Local Variables:
% mode: text
% comment-column: 0
% comment-start: "%"
% comment-end: "\n"
% End:
%