otwarchive-symphonyarchive/lib/acts_as_commentable/commentable.rb

18 lines
316 B
Ruby
Raw Normal View History

2026-03-11 22:22:11 +00:00
module ActsAsCommentable
module Commentable
def self.included(base)
base.extend ClassMethods
end
module ClassMethods
def acts_as_commentable
send :include, CommentableEntity
end
def has_comment_methods
send :include, CommentMethods
end
end
end
end