1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Strip trailing spaces [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2021-03-04 11:40:02 +09:00
parent dea08758be
commit 446d000e11
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -4,7 +4,7 @@ class Numeric
# num.real? -> true or false # num.real? -> true or false
# #
# Returns +true+ if +num+ is a real number (i.e. not Complex). # Returns +true+ if +num+ is a real number (i.e. not Complex).
# #
def real? def real?
return true return true
end end
@ -17,7 +17,7 @@ class Numeric
# #
# 1.0.integer? #=> false # 1.0.integer? #=> false
# 1.integer? #=> true # 1.integer? #=> true
# #
def integer? def integer?
return false return false
end end