Hiroyuki Komatsu
komat****@users*****
2004年 12月 14日 (火) 17:21:09 JST
Index: suikyo/ruby/test/test-composer.rb diff -u suikyo/ruby/test/test-composer.rb:1.6 suikyo/ruby/test/test-composer.rb:1.7 --- suikyo/ruby/test/test-composer.rb:1.6 Mon Dec 13 18:06:01 2004 +++ suikyo/ruby/test/test-composer.rb Tue Dec 14 17:21:09 2004 @@ -7,7 +7,11 @@ class TestSuikyo def initialize () - tables = ( ARGV or ["romaji"] ) + if ARGV.length == 0 then + tables = ["romaji"] + else + tables = ARGV + end tables_reverse = tables.map { | table | table + "_reverse" } @suikyo = SuikyoComposer.new() @@ -54,6 +58,7 @@ when "-" then @suikyo.edit_erase() when "!" then + p****@suiky*****_get_conversion() p****@suiky*****_get_expansion() when "=" then p****@suiky*****_get_preediting_string()