From 892c07024d2cfd9c7a7abe6a4123a30c2d9538a0 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Wed, 17 Apr 2013 01:14:45 +0900 Subject: [PATCH] Add rdoc markups. --- lib/http/cookie/ruby_compat.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/http/cookie/ruby_compat.rb b/lib/http/cookie/ruby_compat.rb index 53782c1..60c746b 100644 --- a/lib/http/cookie/ruby_compat.rb +++ b/lib/http/cookie/ruby_compat.rb @@ -1,5 +1,5 @@ class Array - def select! + def select! # :yield: x i = 0 each_with_index { |x, j| yield x or next @@ -11,7 +11,7 @@ class Array self end unless method_defined?(:select!) - def sort_by!(&block) + def sort_by!(&block) # :yield: x replace(sort_by(&block)) end unless method_defined?(:sort_by!) end