Module: ODDB::Html::View::Drugs::ProductMethods

Included in:
CompareList, Packages, ProductsList
Defined in:
lib/oddb/html/view/drugs/products.rb

Instance Method Summary collapse

Instance Method Details

#company(model) ⇒ Object



16
17
18
19
20
# File 'lib/oddb/html/view/drugs/products.rb', line 16

def company(model)
  if(company = model.company)
    company.name.send(@session.language)
  end
end