Class: AsposeSlidesCloud::SpecialSlideType
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::SpecialSlideType
- Defined in:
- lib/aspose_slides_cloud/models/special_slide_type.rb
Constant Summary collapse
- MASTER_SLIDE =
'MasterSlide'.freeze
- LAYOUT_SLIDE =
'LayoutSlide'.freeze
- NOTES_SLIDE =
'NotesSlide'.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
35 36 37 38 39 |
# 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 |