Class: ODDB::View::Rss::MiniFiItem

Inherits:
Drugs::MiniFiChapter show all
Defined in:
src/view/rss/minifi.rb

Constant Summary

Constants included from ChapterMethods

PAR_STYLE, PRE_STYLE, SUB_STYLE, TABLE_STYLE, TD_STYLE

Instance Method Summary (collapse)

Methods inherited from Drugs::MiniFiChapter

#footer, #initialize, #link_product

Methods included from Latin1

#sanitize

Methods included from AdditionalInformation

#_fachinfo, #atc_ddd_link, #atc_description, #comarketing, #complementary_type, #compositions, #ddd_price, #deductible, #fachinfo, #feedback, #google_search, #ikscat, #limitation_link, #limitation_text, #minifi, #narcotic, #notify, #patent, #patinfo, #qty_unit, #square, #twitter_share

Methods included from PartSize

#comparable_size, #part_size

Methods included from Drugs::AtcDddLink

#atc_ddd_link

Methods included from ChapterMethods

#formats, #heading, #paragraphs, #sections, #table

Constructor Details

This class inherits a constructor from ODDB::View::Drugs::MiniFiChapter

Instance Method Details

- (Object) header(context)



11
12
13
14
15
# File 'src/view/rss/minifi.rb', line 11

def header(context)
  if(@registration)
    context.h3 { self.escape(@registration.company_name) }
  end
end

- (Object) to_html(context)



16
17
18
# File 'src/view/rss/minifi.rb', line 16

def to_html(context)
  header(context).to_s << super
end