Ruby - Methods
Which of the following method names is correctly written to indicate it modifies the object in Ruby?
! suffix! usually modify the object or perform a 'dangerous' action.delete! clearly indicates modification, while delete may not, and delete? suggests a boolean check.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions