changeset 5:e26bc5d3563b draft

RCS-revision 1.6 date: 2004/01/03 02:45:14; author: yuuji; state: Exp; lines: +6 -6 Do not display '=', when @params['headline']==name.
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 03 Jan 2004 02:45:14 +0859
parents b7e65c9caa23
children f4b10ab5479f
files after5.rb
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/after5.rb	Fri Jan 02 14:48:43 2004 +0859
+++ b/after5.rb	Sat Jan 03 02:45:14 2004 +0859
@@ -2,8 +2,8 @@
 #
 # Associative Scheduling Table - after5
 # (C)2003, 2004 by HIROSE Yuuji [yuuji@gentei.org]
-# $Id: after5.rb,v 1.5 2004/01/02 14:48:43 yuuji Exp $
-# Last modified Fri Jan  2 23:42:03 2004 on firestorm
+# $Id: after5.rb,v 1.6 2004/01/03 02:45:14 yuuji Exp $
+# Last modified Sat Jan  3 01:06:04 2004 on firestorm
 # See http://www.gentei.org/~yuuji/software/after5/
 # このスクリプトはEUCで保存してください。
 
@@ -1513,13 +1513,13 @@
 			if personal
 			  text.split("\n")  ##[0]
 			else
-			  nickname(who) + '=' + \
+			  nickname(who) + \
 			    if headline == 'whole'
-			      text
+			      '=' + text
 			    elsif headline == 'head5char'
-			      text.gsub(/\n/, '').sub(/(.{5}).*/, '\1')
+			      '=' + text.gsub(/\n/, '').sub(/(.{5}).*/, '\1')
 			    elsif headline == 'headline'
-			      text.split("\n")[0]
+			      '=' + text.split("\n")[0]
 			    end.to_s
 			end
 		    }.join("<br>")

yatex.org