Khalidh SdRuby CasesIn Ruby, there are several methods that you can use to manipulate the case of a string. Here are some of the most commonly used methods:May 12, 20231May 12, 20231
Khalidh SdThe Difference Between load, autoload, require, and require_relative in RubyLoading external files can get tricky in Ruby, but it doesn’t have to be. This post explains the usage of Ruby’s load, require, and…Feb 17, 2023Feb 17, 2023
Khalidh SdHow to Create Terminal Progress Indicators in RubyThe Technique In ActionJun 11, 20181Jun 11, 20181
Khalidh SdRuby String#splitTaking a string and splitting it with a delimiter is a very common task in Ruby. The official documentation states that String#splitdivides…Apr 27, 2018Apr 27, 2018
Khalidh SdSub, gsub in RubyString replacements can be done with the sub() or gsub methods. These are substitution methods. Gsub applies the substitution globally.Apr 25, 2018Apr 25, 2018
Khalidh SdDifference Between ==, eql?, equal? in rubyEquality operators: == and !=Apr 18, 2018Apr 18, 2018
Khalidh SdWhat is the difference between %w and %W In RubyWhen capitalized, the array is constructed from strings that are interpolated, as would happen in a double-quoted string; when lowercased…Feb 28, 2018Feb 28, 2018