Module: CommentableOn::Extenders::Commenter
- Defined in:
- lib/commentable_on/extenders/commenter.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_commenter(*_args) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/commentable_on/extenders/commenter.rb', line 8 def acts_as_commenter(*_args) include CommentableOn::Commenter class_eval do def self.commenter? true end end end |
#commenter? ⇒ Boolean
4 5 6 |
# File 'lib/commentable_on/extenders/commenter.rb', line 4 def commenter? false end |