I'm pretty sure you can do:

```ruby
language = @options[language] if @options[:language_extension]
```