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
117
# File 'lib/domle.rb', line 112

def initialize(x=nil, callback: nil)

  super x    
  find_add_css()
  @callback = callback
end

Instance Method Details

#refreshObject



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

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