lib/ess/element.rb
##
# Same as #validate, but returns false if an error is found, instead of
# throwing exceptions.
#
Same as #validate, but returns false if an error is found, instead of
throwing exceptions.
Same as #validate but returns false if an error is found instead of throwing exceptions .
def valid?
      begin
        validate
      rescue
        return false
      end
      return true
    end
def valid? begin validate rescue return false end return true end
Same as #validate, but returns false if an error is found, instead of
throwing exceptions.
Same as #validate but returns false if an error is found instead of throwing exceptions .