module Komonjo::Model::Mixin::ReplyContainable
Public Instance Methods
embed(data)
click to toggle source
# File lib/komonjo/models/mixins/reply_containable.rb, line 9 def embed(data) id = text[2..-2] data[:users].any? do |u| @markdown = "@#{u.name}" if u.id == id end end
type()
click to toggle source
# File lib/komonjo/models/mixins/reply_containable.rb, line 5 def type :reply end