From 60d09ab057da3d714d1a29ea0a76d09752a26b05 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Fri, 17 Jul 2015 11:40:40 +0300 Subject: [PATCH] fix for opal in opal string and symbol is the same. --- lib/parfait/space.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parfait/space.rb b/lib/parfait/space.rb index 8cef3e77..cf8c9a38 100644 --- a/lib/parfait/space.rb +++ b/lib/parfait/space.rb @@ -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