Class: AsposeCadCloud::Jpeg2000Codec
- Inherits:
-
Object
- Object
- AsposeCadCloud::Jpeg2000Codec
- Defined in:
- lib/aspose_cad_cloud/models/jpeg2000_codec.rb
Constant Summary collapse
- J2_K =
"J2K".freeze
- JP2 =
"Jp2".freeze
- JPT =
"Jpt".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
15 16 17 18 19 |
# File 'lib/aspose_cad_cloud/models/jpeg2000_codec.rb', line 15 def build_from_hash(value) constantValues = Jpeg2000Codec.constants.select{|c| Jpeg2000Codec::const_get(c) == value} raise "Invalid ENUM value #{value} for class #Jpeg2000Codec" if constantValues.empty? value end |