Class: Kadmin::Forms::InvertedCheckBox

Inherits:
ActionView::Helpers::Tags::CheckBox
  • Object
show all
Defined in:
app/helpers/kadmin/forms/inverted_check_box.rb

Instance Method Summary collapse

Instance Method Details

#value(*args) ⇒ Object

Overload how it gets the value and return the invert



5
6
7
# File 'app/helpers/kadmin/forms/inverted_check_box.rb', line 5

def value(*args)
  return !super
end