lib/eco/api/common/class_helpers.rb in eco-helpers-1.1.7 vs lib/eco/api/common/class_helpers.rb in eco-helpers-1.1.8
- old
+ new
@@ -16,18 +16,18 @@
klass
when String
begin
Kernel.const_get(klass)
rescue NameError => e
- raise e if exception
+ raise if exception
end
when Symbol
resolve_class(self.send(klass))
else
raise "Unknown class: #{klass}" if exception
end
end
-
+
end
end
end
end