Class: AsposeSlidesCloud::ShapeType
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::ShapeType
- Defined in:
- lib/aspose_slides_cloud/models/shape_type.rb
Constant Summary collapse
- SHAPE =
'Shape'.freeze
- CHART =
'Chart'.freeze
- TABLE =
'Table'.freeze
- PICTURE_FRAME =
'PictureFrame'.freeze
- VIDEO_FRAME =
'VideoFrame'.freeze
- AUDIO_FRAME =
'AudioFrame'.freeze
- SMART_ART =
'SmartArt'.freeze
- OLE_OBJECT_FRAME =
'OleObjectFrame'.freeze
- GROUP_SHAPE =
'GroupShape'.freeze
- GRAPHICAL_OBJECT =
'GraphicalObject'.freeze
- CONNECTOR =
'Connector'.freeze
- SMART_ART_SHAPE =
'SmartArtShape'.freeze
- ZOOM_FRAME =
'ZoomFrame'.freeze
- SECTION_ZOOM_FRAME =
'SectionZoomFrame'.freeze
- SUMMARY_ZOOM_FRAME =
'SummaryZoomFrame'.freeze
- SUMMARY_ZOOM_SECTION =
'SummaryZoomSection'.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
48 49 50 51 52 |
# File 'lib/aspose_slides_cloud/models/shape_type.rb', line 48 def build_from_hash(value) constantValues = ShapeType.constants.select { |c| ShapeType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ShapeType" if constantValues.empty? value end |