Showing 1,321 of 1,541 total issues
Avoid too many return
statements within this method. Open
Open
return 1
Avoid too many return
statements within this method. Open
Open
return @begin.kind_of?(Float) ? last_true.to_f : last_true
Avoid too many return
statements within this method. Open
Open
return 0.0
Avoid too many return
statements within this method. Open
Open
return include?(index) ? index.dup : nil
Avoid too many return
statements within this method. Open
Open
return finish if needle_size == 0
Avoid too many return
statements within this method. Open
Open
return if size > @num_bytes
Avoid too many return
statements within this method. Open
Open
return path
Avoid too many return
statements within this method. Open
Open
return split_characters(string, pattern, limited && limit, tail_empty)
Avoid too many return
statements within this method. Open
Open
return @data.compare_bytes(other.__data__, @num_bytes, other.bytesize) == 0
Avoid too many return
statements within this method. Open
Open
return split_on_string(string, pattern, trim_end)
Avoid too many return
statements within this method. Open
Open
return false unless POSIX.access(orig, Constants::R_OK)
Avoid too many return
statements within this method. Open
Open
return if index < 0 or index > @num_bytes
Avoid too many return
statements within this method. Open
Open
return nil
Avoid too many return
statements within this method. Open
Open
return path.byteslice(0, idx - 1)
Avoid too many return
statements within this method. Open
Open
return path unless path.suffix? slash
Avoid too many return
statements within this method. Open
Open
return if str.size > size
Avoid too many return
statements within this method. Open
Open
return nil if start < 0 || start > size
Avoid too many return
statements within this method. Open
Open
return if @num_bytes == 0
Avoid too many return
statements within this method. Open
Open
return "" if start == size
Avoid too many return
statements within this method. Open
Open
return self[index]