Sha256: 5a513c60352aef4ebcb182f0c7cb0bea46bb8f153755fb6f2269e95a8914bb32
Contents?: true
Size: 389 Bytes
Versions: 6
Compression:
Stored size: 389 Bytes
Contents
# # comment_size.rb: included TDiary::Filter::CommentSizeFilter class # module TDiary module Filter class CommentsizeFilter < Filter def comment_filter( diary, comment ) return false if comment.body.size > @conf['comment.size'] true end def referer_filter( referer ) true end end end end
Version data entries
6 entries across 6 versions & 1 rubygems