shenanigans 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bf657b492952b90375dafac6f9da8ff48b9bfdfa505406bf710b18c1b3a1002
|
4
|
+
data.tar.gz: 94d563bc10fb0aaed7efe2bdec61432ff4d5e5999515de7e2a57bc79b3729f3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7fdeb35c9ebbea5aab5fbb7ff7c9c9ab65bd2153360eb43f8d4b1b708d9a1d3b6657c25c1984e678aff27f136987f04b7a06c988f2e236cbcd5a2f610b80d9a
|
7
|
+
data.tar.gz: d7d84a4f230d9db2b41d471278c7ef28c2a7212be8116f918e3e34a32524665893c02ec76cb3b78752c58f40fb766737ebadbf588eb10241d1d8120d1d96c4da
|
@@ -6,7 +6,7 @@ module Kernel
|
|
6
6
|
# Displays a prompt and returns chomped input.
|
7
7
|
# Modelled after the Python method <tt>raw_input</tt>, but also can
|
8
8
|
# be supplied with an optional conversion method.
|
9
|
-
#
|
9
|
+
#
|
10
10
|
# @example A simple prompt
|
11
11
|
# prompt("Prompt> ")
|
12
12
|
# Prompt> 12 #=> "12"
|
@@ -18,6 +18,4 @@ module Kernel
|
|
18
18
|
input = gets.chomp
|
19
19
|
CONVERSIONS.include?(conversion) ? input.send(conversion) : input
|
20
20
|
end
|
21
|
-
|
22
|
-
private :prompt
|
23
21
|
end
|