File: src.rb

package info (click to toggle)
tdiary 2.2.1%2Bdfsg1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,044 kB
  • ctags: 2,796
  • sloc: ruby: 32,562; lisp: 514; makefile: 83; sh: 72; sql: 40
file content (22 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# src.rb $Revision: 1.3 $
#
# src: ե(HTMLդ)
#   ѥ᥿:
#     file: ե̾
#
# Copyright (c) 2005 TADA Tadashi <sho@spc.gr.jp>
# You can distribute this file under the GPL2.
#
def src( file )
	h( File::readlines( file ).join )
end

#
# src_inline: ƥȤ(HTMLդ)
#
# ѥ᥿: ƥʸ
#
def src_inline( str )
	h( str )
end