Method: Vedeu::Common#falsy?

Defined in:
lib/vedeu/common.rb

#falsy?(value) ⇒ Boolean

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.

Returns a boolean indicating whether the value should be considered false.



60
61
62
# File 'lib/vedeu/common.rb', line 60

def falsy?(value)
  value.nil? || value.is_a?(FalseClass)
end