Method: HtmlGrid::Component#set_attribute
- Defined in:
- lib/htmlgrid/component.rb
#set_attribute(key, value) ⇒ Object
set a html attribute
214 215 216 |
# File 'lib/htmlgrid/component.rb', line 214 def set_attribute(key, value) @attributes.store(key, value) end |