Class: Domle

Inherits:
Rexle
  • Object
show all
Defined in:
lib/domle.rb

Defined Under Namespace

Classes: Element, Script, Style

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, callback: nil) ⇒ Domle

Returns a new instance of Domle.



112
113
114
115
116
# File 'lib/domle.rb', line 112

def initialize(x=nil, callback: nil)
  super x    
  find_add_css()
  @callback = callback
end

Instance Method Details

#refreshObject



118
119
120
# File 'lib/domle.rb', line 118

def refresh()
  @callback.refresh if @callback
end