Class: OMF::Web::Tab::TwoColumn::TwoColumnService
- Inherits:
-
AbstractService
- Object
- MObject
- AbstractService
- OMF::Web::Tab::TwoColumn::TwoColumnService
- Defined in:
- lib/omf-web/UNUSED/tab/two_column/two_column_service.rb
Instance Method Summary collapse
-
#initialize(tab_id, opts) ⇒ TwoColumnService
constructor
A new instance of TwoColumnService.
- #show(req, opts) ⇒ Object
Constructor Details
#initialize(tab_id, opts) ⇒ TwoColumnService
Returns a new instance of TwoColumnService.
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/omf-web/UNUSED/tab/two_column/two_column_service.rb', line 9 def initialize(tab_id, opts) super debug "New TwoColumn Service: #{opts.inspect}" @lwidgets = (opts[:left] || []).collect do |wd| OMF::Web::Widget::AbstractWidget.(wd) end @rwidgets = (opts[:right] || []).collect do |wd| OMF::Web::Widget::AbstractWidget.(wd) end end |