Class: AsposeCadCloud::CompressionMethod
- Inherits:
-
Object
- Object
- AsposeCadCloud::CompressionMethod
- Defined in:
- lib/aspose_cad_cloud/models/compression_method.rb
Constant Summary collapse
- RAW =
"Raw".freeze
- RLE =
"RLE".freeze
- ZIP_WITHOUT_PREDICTION =
"ZipWithoutPrediction".freeze
- ZIP_WITH_PREDICTION =
"ZipWithPrediction".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
16 17 18 19 20 |
# File 'lib/aspose_cad_cloud/models/compression_method.rb', line 16 def build_from_hash(value) constantValues = CompressionMethod.constants.select{|c| CompressionMethod::const_get(c) == value} raise "Invalid ENUM value #{value} for class #CompressionMethod" if constantValues.empty? value end |