Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
vbnet
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
cobol
c-array
swift-array
typescript-string
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
math-functions-constants
dot-product-two-arrays
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
function-optional-parameter
decode-leet-speak
decimal-number-to-string-leading-zeros
Disclosure:
My content contains affiliate links.
Recent questions tagged ruby
40,947
questions
53,411
answers
573
users
Recent questions tagged ruby
1
answer
14
views
How to use math functions and constants in Ruby
asked
1 day
ago
by
avibootz
ruby
ruby-math-functions-constants
math-functions-constants
5
answers
20
views
How to create a function with an optional parameter in Ruby
asked
2 days
ago
by
avibootz
ruby
ruby-function-optional-parameter
function-optional-parameter
1
answer
23
views
How to decode Leet Speak (where numbers resemble letters (7->T, 1->I, 5->S, 3 -> E)) in Ruby
asked
4 days
ago
by
avibootz
ruby
ruby-decode-leet-speak
decode-leet-speak
1
answer
21
views
How to reconstruct a full sparse matrix from a compact (triplet) matrix in Ruby
asked
5 days
ago
by
avibootz
ruby
ruby-reconstruct-sparse-matrix-from-compact-triplet-matrix
reconstruct-sparse-matrix-from-compact-triplet-matrix
1
answer
20
views
How to express a decimal number as a fixed-length string with leading zeros in Ruby
asked
5 days
ago
by
avibootz
ruby
ruby-decimal-number-to-string-leading-zeros
decimal-number-to-string-leading-zeros
1
answer
21
views
How to create an enumeration of constants with and without explicit values in Ruby
asked
6 days
ago
by
avibootz
ruby
ruby-create-enumeration-with-without-values
create-enumeration-with-without-values
1
answer
24
views
How to compact a sparse matrix in Ruby
asked
Apr 24
by
avibootz
ruby
ruby-compact-sparse-matrix
compact-sparse-matrix
1
answer
26
views
How to search for a word in a grid of characters with Ruby
asked
Apr 23
by
avibootz
ruby
ruby-search
ruby-grid
ruby-search-word-grid-characters
search-word-grid-characters
4
answers
47
views
How to write a loop with a specified step in Ruby
asked
Apr 10
by
avibootz
ruby
ruby-loop-specified-step
loop-specified-step
2
answers
115
views
How to count backwards (Print the numbers N, N - 1, ..., 0 (included)) in Ruby
asked
Jul 20, 2025
by
avibootz
ruby
ruby-loop
1
answer
145
views
How to round a floating-point number to an integer in Ruby
asked
May 14, 2025
by
avibootz
ruby
ruby-round
1
answer
163
views
How to use gets.chomp() inside a while loop in Ruby
asked
Apr 26, 2025
by
avibootz
ruby
ruby-loop
1
answer
108
views
How to print array values and the indexes in Ruby
asked
Mar 22, 2025
by
avibootz
ruby
ruby-array
1
answer
167
views
How to check if a variable is not nil and not zero in Ruby
asked
Jun 6, 2024
by
avibootz
ruby
2
answers
180
views
How to create a range of numbers in Ruby
asked
Jan 13, 2024
by
avibootz
ruby
1
answer
162
views
How to remove duplicate characters from a string in Ruby
asked
Jun 11, 2023
by
avibootz
ruby
1
answer
178
views
How to swap cases in a string with Ruby
asked
Jun 11, 2023
by
avibootz
ruby
1
answer
186
views
How to convert the first digits in a string to a float with Ruby
asked
Jun 11, 2023
by
avibootz
ruby
1
answer
172
views
How to declare and initialize a set containing unique objects in Ruby
asked
Mar 11, 2023
by
avibootz
ruby
1
answer
199
views
How to remove multiple items from an array by values in Ruby
asked
Mar 1, 2023
by
avibootz
ruby
1
answer
176
views
How to remove an item from an array by index in Ruby
asked
Mar 1, 2023
by
avibootz
ruby
2
answers
187
views
How to create a two dimensional (2D) array in Ruby
asked
Feb 16, 2023
by
avibootz
ruby
2
answers
231
views
How to convert float to string with 2 decimal places in Ruby
asked
Feb 13, 2023
by
avibootz
ruby
3
answers
224
views
How to get character code (ASCII and Unicode) in Ruby
asked
Jan 22, 2023
by
avibootz
ruby
ruby-character-code-ascii-unicode
character-code-ascii-unicode
1
answer
136
views
How to create a function in Ruby
asked
Dec 20, 2022
by
avibootz
ruby
1
answer
168
views
How to merge dictionaries in Ruby
asked
Dec 15, 2022
by
avibootz
ruby
2
answers
170
views
How to create key value dictionary in Ruby
asked
Dec 11, 2022
by
avibootz
ruby
1
answer
152
views
How to access the address of a variable in Ruby
asked
Nov 4, 2022
by
avibootz
ruby
1
answer
168
views
How to add two stdin input numbers in Ruby
asked
Oct 19, 2022
by
avibootz
ruby
1
answer
153
views
How to use print from end to start in Ruby
asked
Oct 17, 2022
by
avibootz
ruby
1
answer
186
views
How to calculate the average of a double array of given length in Ruby
asked
Oct 17, 2022
by
avibootz
ruby
2
answers
210
views
How to calculate the average of an array of double values in Ruby
asked
Oct 17, 2022
by
avibootz
ruby
1
answer
170
views
How to get the factorial of a number in Ruby
asked
Jul 23, 2022
by
avibootz
ruby
1
answer
232
views
How to split an array and add the first part to end in Ruby
asked
Nov 30, 2021
by
avibootz
ruby
1
answer
286
views
How to reorder a list according to given indexes in Ruby
asked
Nov 29, 2021
by
avibootz
ruby
1
answer
219
views
How to move all zeroes to end of array in Ruby
asked
Nov 27, 2021
by
avibootz
ruby
1
answer
212
views
How to swap two elements of an array in Ruby
asked
Nov 21, 2021
by
avibootz
ruby
1
answer
201
views
How to segregate even and odd numbers of an array (even on left and odd on right) in Ruby
asked
Nov 21, 2021
by
avibootz
ruby
1
answer
212
views
How to print inversions pairs in array in Ruby
asked
Nov 10, 2021
by
avibootz
ruby
1
answer
210
views
How to shuffle an array in Ruby
asked
Oct 31, 2021
by
avibootz
ruby
1
answer
215
views
How to calculate the area of a trapezoid in Ruby
asked
Oct 28, 2021
by
avibootz
ruby
1
answer
234
views
How to convert digits of an integer into an array of base 16 digits and numbers in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
266
views
How to convert digits of an integer into an array of base 8 digits in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
197
views
How to convert digits of an integer into an array of base 2 digits in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
293
views
How to convert digits of an integer into an array of base 16 digits with least significant digit first in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
280
views
How to convert digits of an integer into an array of base 8 digits with least significant digit first in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
289
views
How to convert digits of an integer into an array of base 2 digits with least significant digit first in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
294
views
How to split digits of an integer into an array of digits with least significant digit first in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
252
views
How to convert UTF-8 code to char in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
1
answer
216
views
How to convert ASCII code to char in Ruby
asked
Oct 18, 2021
by
avibootz
ruby
Page:
1
2
3
4
5
next »
...