lib/safemode/jail.rb in safemode-1.0.2 vs lib/safemode/jail.rb in safemode-1.1.0

- old
+ new

@@ -22,11 +22,7 @@ # don't need to jail objects returned from a jail. Doing so would provide # "double" protection, but it also would break using a return value in an if # statement, passing them to a Rails helper etc. @source.send(method, *args, &block) end - - def respond_to?(method, include_private = false) - self.class.allowed?(method) - end end end \ No newline at end of file