Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

[WIP]2198-2 #234

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

[WIP]2198-2 #234

wants to merge 4 commits into from

Conversation

persifalia
Copy link
Contributor

Номер

2198

Номер задания

2

Ссылка на видео с демо

https://youtu.be/bMegf9BDQC0

Комментарии

Сделан уровень 1

@anatoliliotych
Copy link
Member

Commit messages should look like in style guide, please fix.

require 'russian_obscenity'
require 'terminal-table'

# rubocop:disable Metrics/LineLength
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove all these comments.

# rubocop:enable Metrics/LineLength
# rubocop:enable Metrics/MethodLength
# rubocop:enable Style/ConditionalAssignment
# rubocop:enable Lint/UnusedBlockArgument
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use OOP style for solving this task.


param_name, param_value = ARGF.argv[0].split('=')
if param_name == '--top-bad-words'
top_bad_words = param_value.to_i

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/UselessAssignment: Useless assignment to variable - top_bad_words.

@persifalia persifalia changed the title 2198-2 [WIP]2198-2 Jul 18, 2018
@anatoliliotych
Copy link
Member

fix commit messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants