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

C-expression does not include a semicolon

This commit is contained in:
Nobuyoshi Nakada 2020-06-21 08:14:49 +09:00
parent cc14319b71
commit d95249ade3
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -4,6 +4,6 @@ class Integer
#
# Returns +true+ if +num+ has a zero value.
def zero?
Primitive.cexpr! 'int_zero_p(self);'
Primitive.cexpr! 'int_zero_p(self)'
end
end