Class: AsposeCadCloud::CadDrawTypeMode
- Inherits:
-
Object
- Object
- AsposeCadCloud::CadDrawTypeMode
- Defined in:
- lib/aspose_cad_cloud/models/cad_draw_type_mode.rb
Constant Summary collapse
- USE_DRAW_COLOR =
"UseDrawColor".freeze
- USE_OBJECT_COLOR =
"UseObjectColor".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/cad_draw_type_mode.rb', line 14 def build_from_hash(value) constantValues = CadDrawTypeMode.constants.select{|c| CadDrawTypeMode::const_get(c) == value} raise "Invalid ENUM value #{value} for class #CadDrawTypeMode" if constantValues.empty? value end |