Skip to content

Converter#17

Open
IrinaAblyazova wants to merge 10 commits intoulstu:masterfrom
IrinaAblyazova:converter
Open

Converter#17
IrinaAblyazova wants to merge 10 commits intoulstu:masterfrom
IrinaAblyazova:converter

Conversation

@IrinaAblyazova
Copy link
Copy Markdown

Случайно закрыла предыдущий реквест и не заметила.(

result += "<category> #{item[:category]} </category>\n"
result += "</item>\n"
end
result += '</rss>'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Открывающего не вижу, где добавила.

def self.parse(data, named)
Module.const_get(named).parse(data)
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Используй rubocop и придерживайся стилистики кода. Небрежно так оставлять код.


PARSERS = ['JsonParser', 'AtomParser', 'RssParser']

def run
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Сортировку добавь ещё.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants