you could replace lines:
```ruby
parent_name = lhs_class.parent_name
if parent_name.present?
```
for
```ruby
if parent_name = lhs_class.parent_name.presence
```