Method: MetaRuby::GUI::HTML::Button#html_id
- Defined in:
- lib/metaruby/gui/html/button.rb
#html_id ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The ID, quoted for HTML
58 |
# File 'lib/metaruby/gui/html/button.rb', line 58 def html_id; id.gsub(/[^\w]/, '_') end |