mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Return boolean
This commit is contained in:
parent
087f470f15
commit
2f29999106
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ module Ameba::Rule::Style
|
||||||
end
|
end
|
||||||
|
|
||||||
private def redundant_begin_in_expressions?(node)
|
private def redundant_begin_in_expressions?(node)
|
||||||
node.keyword.try &.begin?
|
!!(node.keyword.try &.begin?)
|
||||||
end
|
end
|
||||||
|
|
||||||
private def inner_handler?(handler)
|
private def inner_handler?(handler)
|
||||||
|
|
Loading…
Reference in a new issue