Eliminate rubocop warnings
Eliminate rubocop warnings: use %r instead of // at regexp
Eliminate rubocop warnings: use fail insted of raise
Eliminate rubocop warnings: remove `set` method prefix
Eliminate rubocop warnings
Eliminate rubocop warnings