rubocop: fixed "Use a guard clause"
rubocop: fixed "Use the new Ruby 1.9 hash syntax"
rubocop: fixed "Use \ instead of + to concatenate"
rubocop: use "raise" instead of "fail"
rubocop: fixed "Do not prefix method names with get/set"
rubocop: fixed "Inconsistent indentation"