Class/Module Index [+]

Quicksearch

IsCommentable::InstanceMethods

Public Instance Methods

comment(user, text, attr={}) click to toggle source
# File lib/is_commentable.rb, line 15
def comment(user, text, attr={})
  comments << Comment.build_for(self, user, text, attr)
end
is_commentable?() click to toggle source
# File lib/is_commentable.rb, line 12
def is_commentable?
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.