Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for case-in statements #1155

Merged
merged 3 commits into from Dec 9, 2023
Merged

Add support for case-in statements #1155

merged 3 commits into from Dec 9, 2023

Conversation

jdelStrother
Copy link
Contributor

@jdelStrother jdelStrother commented Nov 23, 2023

WDYT to adding case-in support?

- case type_and_details
- in [:user_account, user]
  Profile #{user.name}
- in [:post, post]
  Post #{post.title}

Let me know if you think it needs more tests. I looked at adding some to engine_tests.rb, but they seem more like regression tests, wasn't sure of the best place to add it.

Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@k0kubun k0kubun merged commit 1098bc1 into haml:main Dec 9, 2023
8 checks passed
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.

None yet

2 participants