Skip to content

Conversation

@Tobi1246
Copy link

@Tobi1246 Tobi1246 commented Oct 5, 2023

No description provided.

@env = env
end

def render(binding)

Choose a reason for hiding this comment

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

типов может быть очень много. Лучше тут применить табличный метод. Или хотябы для каждого тим сделать свой метод, а тут вызывать нужный метод

part = "(?<#{part}>\\w+)"
else
part
end

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