Skip to content

Conversation

@rejeep
Copy link
Member

@rejeep rejeep commented Dec 19, 2024

We prefer this style:

memo[key] = case key
when :foo
  'FOO'
when :bar
  'BAR'
else
  'BAZ'
end

The default style is this:

memo[key] = case key
            when :foo
              'FOO'
            when :bar
              'BAR'
            else
              'BAZ'
            end

We prefer this style:
```
memo[key] = case key
when :foo
  'FOO'
when :bar
  'BAR'
else
  'BAZ'
end
```

The default style is this:
```
memo[key] = case key
            when :foo
              'FOO'
            when :bar
              'BAR'
            else
              'BAZ'
            end
```
@rejeep rejeep requested a review from stenlarsson December 19, 2024 10:21
Copy link
Contributor

@stenlarsson stenlarsson left a comment

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