lib/sugarcrm/base.rb in sugarcrm-0.9.1 vs lib/sugarcrm/base.rb in sugarcrm-0.9.2

- old
+ new

@@ -1,8 +1,8 @@ module SugarCRM; class Base # Unset all of the instance methods we don't need. - instance_methods.each { |m| undef_method m unless m =~ /(^__|^send$|^object_id$|^define_method$|^class$|^nil.$|^methods$|^instance_of.$|^respond_to.$)/ } + instance_methods.each { |m| undef_method m unless m =~ /(^__|^send$|^object_id$|^define_method$|^class$|^nil.$|^methods$|^instance_of.$|^respond_to)/ } # This holds our connection cattr_accessor :connection, :instance_writer => false # Tracks if we have extended our class with attribute methods yet. \ No newline at end of file