otwarchive-symphonyarchive/lib/acts_as_commentable/commentable.rb
2026-03-11 22:22:11 +00:00

17 lines
316 B
Ruby

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