Class: AsposeSlidesCloud::MathFormat
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::MathFormat
- Defined in:
- lib/aspose_slides_cloud/models/math_format.rb
Constant Summary collapse
- MATH_ML =
'MathML'.freeze
- LA_TE_X =
'LaTeX'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
34 35 36 37 38 |
# File 'lib/aspose_slides_cloud/models/math_format.rb', line 34 def build_from_hash(value) constantValues = MathFormat.constants.select { |c| MathFormat::const_get(c) == value } raise "Invalid ENUM value #{value} for class #MathFormat" if constantValues.empty? value end |