Sha256: dd84b35cb7720f98ccdf1e9274764017f3c5ff1c966f775b1c57a74aebbc2416
Contents?: true
Size: 393 Bytes
Versions: 21
Compression:
Stored size: 393 Bytes
Contents
require 'hyalite/dom_property_operations' module Hyalite module DOMOperations class << self def update_property_by_id(id, name, value) node = Mount.node(id) if value DOMPropertyOperations.set_value_for_property(node, name, value) else DOMPropertyOperations.delete_value_for_property(node, name) end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems