lib/ice/cubeable.rb in ice-0.2.0 vs lib/ice/cubeable.rb in ice-0.2.1
- old
+ new
@@ -1,9 +1,10 @@
module Ice
module Cubeable
def get_cube_class(class_obj)
begin
cube_string = class_obj.to_s + "Cube"
+ puts "getting string #{cube_string}"
cube_string.constantize
rescue
get_cube_class class_obj.superclass
end
end