RubyMine suggestions about single quotes
added switch specs