Class: BBMB::Html::View::InfoComposite

Inherits:
HtmlGrid::DivComposite
  • Object
show all
Defined in:
lib/bbmb/html/view/info.rb

Constant Summary collapse

COMPONENTS =
{
  [0,0] => ' ',
  [0,1] => :message,
}
CSS_ID_MAP =
['divider']
CSS_MAP =
{
  1 => 'info', 
}

Instance Method Summary collapse

Instance Method Details

#message(model) ⇒ Object



18
19
20
# File 'lib/bbmb/html/view/info.rb', line 18

def message(model)
  @lookandfeel.lookup(model.message).gsub("\n", '<br>')
end