diff --git a/lib/haz_enum/set.rb b/lib/haz_enum/set.rb
index <HASH>..<HASH> 100644
--- a/lib/haz_enum/set.rb
+++ b/lib/haz_enum/set.rb
@@ -14,6 +14,7 @@ module HazEnum
       end
       
       define_method("#{set_name}=") do |value|
+        value.constantize rescue value if value.is_a?(String)
         class <<value
           yield if block_given?
         end
strings in setter will be constantized