Category / 1 of 13

Ruby

  1. No. 151

    How Add Elements an Array and Automatically Remove Duplicates in Ruby

    While working with Array, using |= operator will automatically add elements and remove duplicates

  2. No. 150

    Access Nested Hash Value with Dig Method in Ruby

    It's better using dig method, you don't have to check nil for accessing nested value from a Hash

  3. No. 146

    Ketemu Method di Ruby Dengan Parameter Lebih Dari 3 Wajib Refactor Pakai Keyword Argument

    Legacy code yang saya kerjakan ada method dimana memiliki parameter hingga sembilan, hal pertama yang saya lakukan adalah ubah dengan Keyword Argument

  4. No. 142

    How to Solve "Could not find MIME type database" Error on M1 MacBook

    Two solutions for this error: copy & paste from Freedesktop or install via Homebrew

  5. No. 141

    How To Install Old Version Ruby 2.7.1 and 2.7.2 on M1 Mac

    Steps how to install Ruby 2.7.1 and 2.7.2 with asdf