lib/surrounded.rb in surrounded-0.2.0 vs lib/surrounded.rb in surrounded-0.2.1
- old
+ new
@@ -52,10 +52,10 @@
def respond_to_missing?(meth, include_private=false)
!!context.role?(meth){} || super
end
- class NullContext < BasicObject
+ class NullContext
def role?(*args)
nil
end
end
end