Class: AsposeCadCloud::TiffByteOrder
- Inherits:
-
Object
- Object
- AsposeCadCloud::TiffByteOrder
- Defined in:
- lib/aspose_cad_cloud/models/tiff_byte_order.rb
Constant Summary collapse
- LITTLE_ENDIAN =
"LittleEndian".freeze
- BIG_ENDIAN =
"BigEndian".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
14 15 16 17 18 |
# File 'lib/aspose_cad_cloud/models/tiff_byte_order.rb', line 14 def build_from_hash(value) constantValues = TiffByteOrder.constants.select{|c| TiffByteOrder::const_get(c) == value} raise "Invalid ENUM value #{value} for class #TiffByteOrder" if constantValues.empty? value end |