View definition

def Axlsx.validate_content_type

Defined in github.com/randym/axlsx/lib/axlsx/util/validators.rb

Description

Requires that the value is a valid content_type TABLE_CT, WORKBOOK_CT, APP_CT, RELS_CT, STYLES_CT, XML_CT, WORKSHEET_CT, SHARED_STRINGS_CT, CORE_CT, CHART_CT, DRAWING_CT, COMMENT_CT are allowed

Parameters:

  • v (Any)

    The value validated

validate_content_type is referenced in 0 repositories