summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/syntax/methods.rdoc5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc
index 4e6b926c01..94fed45e9a 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -454,11 +454,6 @@ in this section:
yield self
end
-There is also a performance benefit to using yield over a calling a block
-parameter. When a block argument is assigned to a variable a Proc object is
-created which holds the block. When using yield this Proc object is not
-created.
-
== Exception Handling
Methods have an implied exception handling block so you do not need to use