Class: AsposeWordsCloud::ReportBuildOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_words_cloud/models/report_build_options.rb

Overview

Specifies options controlling behavior of ReportingEngine while building a report.

Constant Summary collapse

NONE =
"None".freeze
ALLOWMISSINGMEMBERS =
"AllowMissingMembers".freeze
REMOVEEMPTYPARAGRAPHS =
"RemoveEmptyParagraphs".freeze
INLINEERRORMESSAGES =
"InlineErrorMessages".freeze
USELEGACYHEADERFOOTERVISITING =
"UseLegacyHeaderFooterVisiting".freeze

Instance Method Summary collapse

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



41
42
43
44
45
# File 'lib/aspose_words_cloud/models/report_build_options.rb', line 41

def build_from_hash(value)
  constantValues = ReportBuildOptions.constants.select{|c| ReportBuildOptions::const_get(c) == value}
  raise "Invalid ENUM value #{value} for class #ReportBuildOptions" if constantValues.empty?
  value
end