aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/binding_of_caller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/binding_of_caller.rb b/railties/lib/binding_of_caller.rb
index 64b945158c..7d31672a91 100644
--- a/railties/lib/binding_of_caller.rb
+++ b/railties/lib/binding_of_caller.rb
@@ -1,7 +1,7 @@
begin
require 'simplecc'
rescue LoadError
- def Continuation.create(*args, &block)
+ def Continuation.create(*args, &block) #:nodoc:
cc = nil; result = callcc {|c| cc = c; block.call(cc) if block and args.empty?}
result ||= args
return *[cc, *result]
@@ -33,7 +33,7 @@ end
# If you don't do this an Exception will be raised. Because of
# the way that Binding.of_caller is implemented it has to be
# done this way.
-def Binding.of_caller(&block)
+def Binding.of_caller(&block) #:nodoc:
old_critical = Thread.critical
Thread.critical = true
count = 0