Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use fully qualified name to avoid exception when System is not included.

  • Loading branch information...
commit 36d54a42fa722e85702755dd39d21b3867f26e0c 1 parent 7b69791
@thbar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/magic/instance_creator.rb
View
2  lib/magic/instance_creator.rb
@@ -25,7 +25,7 @@ def parse_enum_if_enum(klass,property_name,value)
end
def parse_enum(type,value)
- Enum.parse(type, classify(value.to_s))
+ System::Enum.parse(type, classify(value.to_s))
end
# return the method name to call to set the property, if there is one. Can be either:
Please sign in to comment.
Something went wrong with that request. Please try again.