In many languages, “predicates” are methods that return either true or false. In Ruby, they’re traditionally marked with a trailing question mark. def are_you_ok? if yes true else false end end This question mark is only a convention. ...
langage-ruby.hashnode.dev1 min readNo responses yet.