lib/casclient.rb in rubycas-client-2.3.8 vs lib/casclient.rb in rubycas-client-2.3.9.rc1
- old
+ new
@@ -54,10 +54,10 @@
@real_logger = real_logger
end
# Log using the appropriate method if we have a logger
# if we dont' have a logger, gracefully ignore.
def method_missing(name, *args)
- if @real_logger && @real_logger.respond_to?(name)
+ if !@real_logger.nil? && @real_logger.respond_to?(name)
@real_logger.send(name, *args)
end
end
end
end