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
|
||||
|
||||
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)
|
||||
@classes[name] = c
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user