lib/intercom/utils.rb in intercom-2.5.4 vs lib/intercom/utils.rb in intercom-3.0.0b1

- old
+ new

@@ -43,10 +43,9 @@ namespaced_class_name = "Intercom::#{class_name}" constantize namespaced_class_name end def define_lightweight_class(class_name) - #File.open('./intercom_ruby_dynamically_defined_classes.log', 'a') {|f| f.puts("Dynamically defining the class Intercom::#{class_name}") } #HACK new_class_definition = Class.new(Object) do include Traits::ApiResource end Intercom.const_set(class_name, new_class_definition) end