fix for opal
in opal string and symbol is the same.
This commit is contained in:
parent
9a48ab1330
commit
60d09ab057
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user