lib/faye-rails/controller/observer_factory.rb in faye-rails-1.0.0 vs lib/faye-rails/controller/observer_factory.rb in faye-rails-1.0.1
- old
+ new
@@ -42,12 +42,12 @@
end
def self.observer(class_name)
klass = Module.const_get(class_name)
return klass if klass.is_a?(Class)
- return nil
+ nil
rescue
- return nil
+ nil
end
end
end
end