Fix NoMethodError

see https://github.com/rubima/rubima/issues/297