Class: Element
Instance Method Summary collapse
Instance Method Details
#get_script(url, &block) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/roda/component/element.rb', line 8 def get_script url, &block %x{ $.getScript(url, function(){ #{block.call if block_given?} }); } end |