Class: Domle
- Inherits:
-
Rexle
- Object
- Rexle
- Domle
- Defined in:
- lib/domle.rb
Defined Under Namespace
Classes: Element, Script, Style
Instance Method Summary collapse
-
#initialize(x = nil, callback: nil) ⇒ Domle
constructor
A new instance of Domle.
- #refresh ⇒ Object
Constructor Details
#initialize(x = nil, callback: nil) ⇒ Domle
Returns a new instance of Domle.
112 113 114 115 116 117 |
# File 'lib/domle.rb', line 112 def initialize(x=nil, callback: nil) super x find_add_css() @callback = callback end |
Instance Method Details
#refresh ⇒ Object
119 120 121 |
# File 'lib/domle.rb', line 119 def refresh() @callback.refresh if @callback end |