We think this would be more clear as an if statement:

```ruby
artifact_file = if new_resource.classifier.nil?
    ::File.join new_resource.dest, "#{new_resource.artifact_id}-#{new_resource.version}.#{new_resource.packaging}"
else
    ::File.join new_resource.dest, "#{new_resource.artifact_id}-#{new_resource.version}-#{new_resource.classifier}.#{new_resource.packaging}"
end
```