Class: ODDB::View::Rss::FachinfoItem

Inherits:
HtmlGrid::DivComposite
  • Object
show all
Defined in:
src/view/rss/fachinfo.rb

Constant Summary

COMPONENTS =
{}
DEFAULT_CLASS =
View::Chapter

Instance Method Summary (collapse)

Instance Method Details

- (Object) init



14
15
16
17
18
19
20
21
# File 'src/view/rss/fachinfo.rb', line 14

def init
  @model = @model.send(@session.language)
  @model.chapter_names.each_with_index { |name, idx|
    components.store([0,idx], name)
    break if(name == :indications || idx > 4)
  }
  super
end