misc/plugin/gradation.rb in tdiary-4.0.5.1 vs misc/plugin/gradation.rb in tdiary-4.1.0
- old
+ new
@@ -6,10 +6,10 @@
# str: 文字列
# first_color: グラデーション開始色(16進 6桁指定)
# last_color: グラデーション終了色(16進 6桁指定)
#
# Copyright (c) 2002 TADA Tadashi <sho@spc.gr.jp>
-# You can distribute this file under the GPL2.
+# You can distribute this file under the GPL2 or any later version.
#
def gradation( str, first_color, last_color )
ary = str.split( //u )
len = ary.length - 1
result = ""