summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-03-04 11:40:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-03-04 11:40:43 +0900
commit446d000e1148d4dd1dc5e0d3a745dbc205457632 (patch)
treec269da6b5adc5b138c22b3188b718c217311cc4a /numeric.rb
parentdea08758be2ee02b5e2d85ee49aca85a9ea85201 (diff)
downloadruby-446d000e1148d4dd1dc5e0d3a745dbc205457632.tar.gz
Strip trailing spaces [ci skip]
Diffstat (limited to 'numeric.rb')
-rw-r--r--numeric.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.rb b/numeric.rb
index 0c191c01c0..be33c5b436 100644
--- a/numeric.rb
+++ b/numeric.rb
@@ -4,7 +4,7 @@ class Numeric
# num.real? -> true or false
#
# Returns +true+ if +num+ is a real number (i.e. not Complex).
- #
+ #
def real?
return true
end
@@ -17,7 +17,7 @@ class Numeric
#
# 1.0.integer? #=> false
# 1.integer? #=> true
- #
+ #
def integer?
return false
end