Module: Gitgo::Helper::Html
- Defined in:
- lib/gitgo/helper/html.rb
Class Method Summary collapse
Class Method Details
.check(true_or_false) ⇒ Object
6 7 8 |
# File 'lib/gitgo/helper/html.rb', line 6 def check(true_or_false) true_or_false ? ' checked="checked"' : nil end |
.disable(true_or_false) ⇒ Object
14 15 16 |
# File 'lib/gitgo/helper/html.rb', line 14 def disable(true_or_false) true_or_false ? ' disabled="disabled"' : nil end |
.select(true_or_false) ⇒ Object
10 11 12 |
# File 'lib/gitgo/helper/html.rb', line 10 def select(true_or_false) true_or_false ? ' selected="selected"' : nil end |