Method: AsposeCadCloud::TiffExpectedFormat#build_from_hash
- Defined in:
- lib/aspose_cad_cloud/models/tiff_expected_format.rb
#build_from_hash(value) ⇒ String
Builds the enum from string
28 29 30 31 32 |
# File 'lib/aspose_cad_cloud/models/tiff_expected_format.rb', line 28 def build_from_hash(value) constantValues = TiffExpectedFormat.constants.select{|c| TiffExpectedFormat::const_get(c) == value} raise "Invalid ENUM value #{value} for class #TiffExpectedFormat" if constantValues.empty? value end |