plugin/recent-entry.rb in tdiary-blogkit-5.0.6 vs plugin/recent-entry.rb in tdiary-blogkit-5.0.7

- old
+ new

@@ -5,9 +5,10 @@ # # Copyright (c) 2002 TADA Tadashi <t@tdtds.jp> # Copyright (c) 2001,2002 Junichiro KITA <kita@kitaj.no-ip.com> # You can redistribute it and/or modify it under GPL. # +require 'tdiary/diary_container' def recent_entry(max = 5, limit = 20) max = max.to_i limit = limit.to_i