「Ruby」(2009/06/08 (月) 23:56:31) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
#highlight(linenumber,ruby){{
def test a b
a+b
end
}}
#highlight(linenumber,ruby){{
def test a b
a+b
end
}}
#highlight(ruby){{
#!/usr/bin/ruby
dirs = ARGV[0].to_i
files= ARGV[1].to_i
dirs.times do |i|
system("mkdir dir_#{i}")
files.times do |j|
system("echo #{j} > dir_#{i}/#{j}")
end
end
}}
表示オプション
横に並べて表示:
変化行の前後のみ表示: