I think these methods are a good use case for define method.

```ruby

%w(running successful failed).each do |status_name|
  define_method("#{status_name}?") { status == status_name }
end
```