lib/hydra_attribute/hydra_value.rb
def value?
      return false unless value

      if column.number?
        !value.zero?
      else
        value.present?
      end
    end
# Checks if value not blank and not zero for number types
#
# @return [TrueClass, FalseClass]
Checks if value not blank and not zero for number types
Checks if value not blank and not zero for number types
def value?
      return false unless value
      if column.number?
        !value.zero?
      else
        value.present?
      end
    end
def value? return false unless value if column . number? ! value . zero? else value . present? end end
Checks if value not blank and not zero for number types
Checks if value not blank and not zero for number types
None
TrueClass, FalseClass