Fixed rubocop warnings in fog/core folder

cc/ @geemus @tokengeek @nirvdrum