Class: OMF::Web::Widget::Log::LogWidget
- Inherits:
-
AbstractDataWidget
- Object
- AbstractDataWidget
- OMF::Web::Widget::Log::LogWidget
- Defined in:
- lib/omf-web/widget/UNUSED/log/log_widget.rb
Overview
Maintains the context for a particular log rendering within a specific session. It is primarily called upon maintaining communication with the browser and will create the necessary html and javascript code for that.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ LogWidget
constructor
A new instance of LogWidget.
Constructor Details
#initialize(opts = {}) ⇒ LogWidget
Returns a new instance of LogWidget.
14 15 16 17 18 19 20 |
# File 'lib/omf-web/widget/UNUSED/log/log_widget.rb', line 14 def initialize(opts = {}) opts[:name] ||= 'Log' opts[:js_url] = 'log/table.js' opts[:js_class] = 'OML.log_table' #opts[:widget_class] = OMF::Web::Widget::AbstractDataWidget super opts end |