That's a little misleading, no?  Why not just do

```ruby
metric_filename = options.fetch(:githash) { filename_timestamp(Time.now) }

def filename_timestamp(time)
  time.strftime("%Y%m%d") 
end
```