misc/plugin/recent_comment3.rb in tdiary-5.0.6 vs misc/plugin/recent_comment3.rb in tdiary-5.0.7
- old
+ new
@@ -6,9 +6,10 @@
#
require 'pstore'
require 'fileutils'
require 'time'
require 'pathname'
+require 'tdiary/diary_container'
def recent_comment3_format(format, *args)
format.gsub(/\$(\d)/) {|s| args[$1.to_i - 1]}
end