fix for opal

in opal string and symbol is the same.
This commit is contained in:
Torsten Ruger 2015-07-17 11:40:40 +03:00
parent 9a48ab1330
commit 60d09ab057

View File

@ -70,7 +70,7 @@ module Parfait
end end
def create_class name , superclass def create_class name , superclass
raise "uups " if name.is_a? String raise "uups #{name.class}" unless name.is_a? Symbol
c = Class.new_object(name , superclass) c = Class.new_object(name , superclass)
@classes[name] = c @classes[name] = c
end end