Articles by Nurudeen Ibrahim

Ruby Howtos

  1. Difference Between puts and print in Ruby
  2. Difference Between require and require_relative in Ruby
  3. How to Compare Strings in Ruby
  4. How to Fix Undefined Method in Ruby
  5. How to Remove Duplicates From a Ruby Array
  6. How to Filter an Array in Ruby
  7. Difference Between Class and Class Instance Variables in Ruby
  8. How to Execute Shell Commands in Ruby
  9. How to Handle Exceptions Using Begin and Rescue in Ruby
  10. How to Use Safe Navigation in Ruby
  11. How to Use the inject Method in Ruby
  12. Enum in Ruby
  13. How to Add an Item to a Ruby Hash
  14. How to Get Maximum and Minimum Number in a Ruby Array
  15. How to Update Ruby Gems
  16. How to Use Pattern Matching Operator in Ruby
  17. Understanding Class << Self in Ruby
  18. Attr Accessor in Ruby
  19. The do Keyword in Ruby
  20. How to Convert a String to Lowercase or Uppercase in Ruby
  21. How to Remove an Array Element in Ruby
  22. How to Use the call() Method in Ruby
  23. How to Write One Line if Statement in Ruby
  24. How to Parse a JSON String in Ruby
  25. How to Update Ruby Version in macOS
  26. How to Write a Switch Statement in Ruby
  27. How to Write to a File in Ruby
  28. The map Method in Ruby
  29. try...catch in Ruby
  30. Difference Between OR and Double Pipe Operator in Ruby
  31. How to Accept User Input With Gets in Ruby
  32. How to Find a Value in a Ruby Array
  33. How to Map an Array With Index in Ruby
  34. How to Iterate Through a Ruby Array