Class: AsposeSlidesCloud::TableCellSplitType

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_slides_cloud/models/table_cell_split_type.rb

Constant Summary collapse

SPLIT_BY_WIDTH =
'SplitByWidth'.freeze
SPLIT_BY_HEIGHT =
'SplitByHeight'.freeze
SPLIT_BY_COL_SPAN =
'SplitByColSpan'.freeze
SPLIT_BY_ROW_SPAN =
'SplitByRowSpan'.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



36
37
38
39
40
# File 'lib/aspose_slides_cloud/models/table_cell_split_type.rb', line 36

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