Class: Comment

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/wpb/comment.rb

Instance Method Summary collapse

Instance Method Details

#contentObject

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