Method: MetaRuby::GUI::HTML::Button#url
- Defined in:
- lib/metaruby/gui/html/button.rb
#url ⇒ Object
The URL that represents this button and its current state
74 75 76 77 78 |
# File 'lib/metaruby/gui/html/button.rb', line 74 def url if state then "#{base_url}#on" else "#{base_url}#off" end end |