Class: Snooby::Post
- Inherits:
-
Struct
- Object
- Struct
- Snooby::Post
- Defined in:
- lib/snooby/post.rb
Instance Method Summary collapse
-
#initialize ⇒ Post
constructor
A new instance of Post.
Methods included from Comments
Methods included from Reply
Methods included from Delete
Methods included from Voting
#downvote, #rescind, #upvote, #vote
Constructor Details
#initialize ⇒ Post
Returns a new instance of Post.
5 6 7 8 |
# File 'lib/snooby/post.rb', line 5 def initialize(*) super @kind = 'post' end |