Sha256: f85d2cd7c1d99a6fd250ecb9753d78438e590b1e1dba8b7e413a4769f0ad4a71
Contents?: true
Size: 380 Bytes
Versions: 46
Compression:
Stored size: 380 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
46 entries across 40 versions & 2 rubygems