Ruby: Create array of hashes from multiple arrays

Mar 28

We have two or more arrays, and we would like to create hashes from these. For example: one of the arrays contains the names of our users, the another one contains the birth years, and the third contains the room numbers. We would like to create a hash for every user.

Continue reading...

  • ruby

Real upcase and downcase methods in Ruby

Changing the case of unicode strings makes a mistake. Let's fix it!

Mar 27

If you need to store non-english text in String variables, you will notice that it is difficult to change the case of unicode strings.

Continue reading...

  • ruby
  • utf8
  • Magyar
  • English

MGERGI

  • About me
  • IT Blog
  • Personal Blog

Popular Tags

debian dhcp dovecot exif grav jessie latex pdf pfSense php postfix roundcube ruby stretch syntax test utf8 vi wifi
  • © Miklós Gergi
  • Design: HTML5 UP