Class: ODDB::Html::View::Drugs::Legend

Inherits:
HtmlGrid::Composite
  • Object
show all
Defined in:
lib/oddb/html/view/drugs/legend.rb

Constant Summary collapse

COMPONENTS =
{}
LEGACY_INTERFACE =
false

Instance Method Summary collapse

Instance Method Details

#initObject



13
14
15
16
17
18
19
# File 'lib/oddb/html/view/drugs/legend.rb', line 13

def init
  @components = @lookandfeel.legend_components.dup
  @components.each { |pos, key|
    css_map.store(pos, key.to_s.gsub(/^explain_/, ""))
  }
  super
end