summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xAB <0xAB@protonmail.com>2017-09-02 11:36:37 +0100
committer0xAB <0xAB@protonmail.com>2017-09-02 11:36:44 +0100
commita841c9d9614622a4a0676ed4b3852113c62d0e85 (patch)
tree8984d732b5630191fa8bd1e4d790366f1e8fabfc
parent2015ecbea0b39b92d73592a75d235c930eec1fbb (diff)
downloadpry-a841c9d9614622a4a0676ed4b3852113c62d0e85.tar.gz
document "char" param [ci skip]
-rw-r--r--lib/pry/helpers/text.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pry/helpers/text.rb b/lib/pry/helpers/text.rb
index a8e2bd5d..5d30c844 100644
--- a/lib/pry/helpers/text.rb
+++ b/lib/pry/helpers/text.rb
@@ -56,6 +56,9 @@ class Pry
end
#
+ # @param [String] char
+ # A string consisting of a single character. Other characters are ignored.
+ #
# @return [Boolean]
# Returns true if the terminal Pry is running from displays
# _char_ as-is (not as "?" or other malformed character). This