Class: C80NewsTz::Comment

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/c80_news_tz/comments.rb

Instance Method Summary collapse

Instance Method Details

#answersObject



10
11
12
# File 'app/models/c80_news_tz/comments.rb', line 10

def answers
  []
end

#blurb_or_factObject



14
15
16
17
18
19
20
# File 'app/models/c80_news_tz/comments.rb', line 14

def blurb_or_fact
  if fact.present?
    fact
  else
    r_blurb
  end
end