Module: Enjoy::Faq::Models::Question
- Extended by:
- ActiveSupport::Concern
- Includes:
- Enableable, Model, Seo::Seoable, Seo::SitemapDataField, ManualSlug
- Included in:
- Question
- Defined in:
- lib/enjoy/faq/models/question.rb
Instance Method Summary collapse
Instance Method Details
#category_class ⇒ Object
39 40 41 |
# File 'lib/enjoy/faq/models/question.rb', line 39 def category_class Enjoy::Faq::Category end |
#full_name ⇒ Object
35 36 37 |
# File 'lib/enjoy/faq/models/question.rb', line 35 def full_name "#{self.author_name_output}: \"#{self.question_text_output}\"" end |
#name ⇒ Object
31 32 33 |
# File 'lib/enjoy/faq/models/question.rb', line 31 def name "#{self.question_text_output} (#{self.author_name_output})" end |