by lucidone · 3y ago · 0 comments
def my_method(required_thing)
raise 'required_thing is required' unless required_thing.present?
...
end
In practice, this hasn't been as issue as a consequence of the tooling and ecosystem around Ruby. def my_method(required_thing)
raise 'required_thing is required' if !required_thing.present?
is a problem ?