RSpec command line
Given we have the following Person class: class Persondef initialize(age:)@age = ageend def [email protected] > 17endendAnd equally simple test in […]
Given we have the following Person class: class Persondef initialize(age:)@age = ageend def [email protected] > 17endendAnd equally simple test in […]
Checking for presence I would risk writing that the most popular Rails’ methods are present? and blank?. Along with .presence, they are used to […]
The config-way of setting variables You can see this code in almost every Ruby gem that utilizes initializers to set […]