class AsposeSlidesCloud::SpecialSlideType
Constants
- LAYOUT_SLIDE
- MASTER_SLIDE
- NOTES_SLIDE
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/aspose_slides_cloud/models/special_slide_type.rb, line 35 def build_from_hash(value) constantValues = SpecialSlideType.constants.select { |c| SpecialSlideType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #SpecialSlideType" if constantValues.empty? value end