Fixed Lint/BlockAlignment RuboCop offense

Paired-With: Tobi Gritschacher
Bug: 69245
Fixed Lint/DeprecatedClassMethods RuboCop offense

Paired-With: Tobi Gritschacher
Bug: 69245
Fixed Lint/UnusedBlockArgument RuboCop offense

Paired-With: Tobi Gritschacher
Bug: 69245
Merge branch 'master' into rubocop
Refcator single line while loop
Use && instead of 'and'
Use only ASCII chars in comments
Remove bracktes for methods that don't have parameters
Remove empty lines around body
Use literals
Fix intendation and whitespaces
Use correct hash syntax
Add missing parentheses for method with parameters
Use 'unless' instead of negated if
Remove redundant return and self statements
Merge pull request #18 from wmde/rubocop

Fixing RuboCop offenses