Should not call inherited method when class nothing

```ruby
class BasicObject
end
#=> Segmentation fault
```