Class: Snooby::Comment

Inherits:
Struct
  • Object
show all
Includes:
Delete, Reply, Voting
Defined in:
lib/snooby/comment.rb

Instance Method Summary collapse

Methods included from Reply

#reply

Methods included from Delete

#delete

Methods included from Voting

#downvote, #rescind, #upvote, #vote

Constructor Details

#initializeComment

Returns a new instance of Comment.



5
6
7
8
# File 'lib/snooby/comment.rb', line 5

def initialize(*)
  super
  @kind = 'comment'
end