From 1dbb4adec1c76f4aa324c7232dd5cafe61b3e062 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 17 Jan 2005 01:29:45 +0000 Subject: Made a bunch of stuff quiet in the docs git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/binding_of_caller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib') 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 -- cgit v1.2.3