Ditto here, though mixing values and classes might be a little odd:
```ruby
case options[:format]
when true then @requirements[:format] ||= /.+/
when Regexp then @requirements[:format] = options[:format]
when String then @requirements[:format] = Regexp.compile(options[:format])
end
```
```