Class: Acop::Helpers
- Inherits:
-
Object
- Object
- Acop::Helpers
- Defined in:
- lib/acop/accessibility.rb
Instance Method Summary collapse
Instance Method Details
#attribute_empty_or_nil(element, attribute) ⇒ Object
276 277 278 279 280 281 |
# File 'lib/acop/accessibility.rb', line 276 def attribute_empty_or_nil(element, attribute) if(element[attribute] == nil || element[attribute] == "") return true end false end |