File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/ruby/truffleruby/core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ def [](index)
63
63
64
64
def allbits? ( mask )
65
65
mask = Truffle ::Type . coerce_to_int ( mask )
66
- return ( self & mask ) == mask
66
+ ( self & mask ) == mask
67
67
end
68
68
69
69
def anybits? ( mask )
70
70
mask = Truffle ::Type . coerce_to_int ( mask )
71
- return ( self & mask ) != 0
71
+ ( self & mask ) != 0
72
72
end
73
73
74
74
def ceil ( precision = 0 )
@@ -110,12 +110,12 @@ def floor(precision = 0)
110
110
111
111
def nobits? ( mask )
112
112
mask = Truffle ::Type . coerce_to_int ( mask )
113
- return ( self & mask ) == 0
113
+ ( self & mask ) == 0
114
114
end
115
115
116
116
def pow ( e , m = undefined )
117
117
return self ** e if undefined . equal? ( m )
118
- raise TypeError , " 2nd argument not allowed unless all arguments are integers" unless Truffle ::Type . object_kind_of? ( m , Integer )
118
+ raise TypeError , ' 2nd argument not allowed unless all arguments are integers' unless Truffle ::Type . object_kind_of? ( m , Integer )
119
119
( self ** e ) % m
120
120
end
121
121
You can’t perform that action at this time.
0 commit comments