projects
/
chise
/
ruby.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10ea993
)
add copyright notice.
author
eto
<eto>
Fri, 3 Oct 2003 21:05:06 +0000
(21:05 +0000)
committer
eto
<eto>
Fri, 3 Oct 2003 21:05:06 +0000
(21:05 +0000)
doc/index.html
patch
|
blob
|
history
diff --git
a/doc/index.html
b/doc/index.html
index
163ef06
..
0f19b59
100755
(executable)
--- a/
doc/index.html
+++ b/
doc/index.html
@@
-46,10
+46,13
@@
Rubyへ移植することを試みたモジュールである。<br>
<li>2003-0312 <a href="http://eto.com/2003/ruby/ruby-chise-20030312.tar.bz2" class="s">ruby-chise-20030312.tar.bz2</a><br>
様々なライブラリを追加。
<li>2003-1004 <a href="http://eto.com/2003/ruby/ruby-chise-20031004.tar.bz2" class="s">ruby-chise-20031004.tar.bz2</a><br>
<li>2003-0312 <a href="http://eto.com/2003/ruby/ruby-chise-20030312.tar.bz2" class="s">ruby-chise-20030312.tar.bz2</a><br>
様々なライブラリを追加。
<li>2003-1004 <a href="http://eto.com/2003/ruby/ruby-chise-20031004.tar.bz2" class="s">ruby-chise-20031004.tar.bz2</a><br>
-新しい素性名に対応した。
+新しい素性名に対応した。Copyright noticeをきちんといれた。
</ul>
<hr>
<h3>■<a href="http://cvs.m17n.org/cgi-bin/viewcvs/ruby/?cvsroot=chise">CVS access</a></h3>
</ul>
<hr>
<h3>■<a href="http://cvs.m17n.org/cgi-bin/viewcvs/ruby/?cvsroot=chise">CVS access</a></h3>
+<hr>
+<h3>■ライセンス</h3>
+GPLです。付属のCOPYINGをごらん下さい。
<p>
</div>
<p>
</div>
@@
-146,7
+149,7
@@
include CHISE
str = "字" #Stringを拡張している。UTF8で与えること。
p str.ucs #とすると、その文字のucsの値が表示される
p str.total_strokes #画数が表示される
str = "字" #Stringを拡張している。UTF8で与えること。
p str.ucs #とすると、その文字のucsの値が表示される
p str.total_strokes #画数が表示される
-p str.chinese_gb2312 #などなど
+p str.gb2312 #などなど
str.char.alist.each {|a, v| #こんな感じで全属性を表示できる
print a, ': ', v, "\n"
}
str.char.alist.each {|a, v| #こんな感じで全属性を表示できる
print a, ': ', v, "\n"
}