Class: Comment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Comment
- Defined in:
- lib/wpb/comment.rb
Instance Method Summary collapse
-
#content ⇒ Object
Grab the content of the selected comment.
-
#content=(new_content) ⇒ Object
Set the content of the selected comment.
Instance Method Details
#content ⇒ Object
Grab the content of the selected comment
56 57 58 |
# File 'lib/wpb/comment.rb', line 56 def content comment_content end |
#content=(new_content) ⇒ Object
Set the content of the selected comment
63 64 65 |
# File 'lib/wpb/comment.rb', line 63 def content= new_content self.comment_content = new_content end |