5 lines
107 B
Ruby
5 lines
107 B
Ruby
|
|
# converts list of parameters to array of integers
|
|
def mass_to_i(*id_strings)
|
|
id_strings.map(&:to_i)
|
|
end |