projects
/
chise
/
ruby.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i
[chise/ruby.git]
/
tools
/
t1.rb
diff --git
a/tools/t1.rb
b/tools/t1.rb
index
81b0ba1
..
e6f3771
100755
(executable)
--- a/
tools/t1.rb
+++ b/
tools/t1.rb
@@
-1,8
+1,7
@@
#!/usr/bin/env ruby
$KCODE = 'u'
-$LOAD_PATH << '../lib'
-require 'chise'
-include CHISE
+$LOAD_PATH.unshift("..")
+require "chise/char"
p "字" # "字"
p "字".ucs # 23383
p "字".daikanwa # 6942(大漢和番号)