module RuboCop::AST::ConditionalNode
def single_line_condition?
-
(Boolean)
- whether the condition is on a single line
def single_line_condition? loc.keyword.line == condition.source_range.line end
(Boolean)
- whether the condition is on a single line
def single_line_condition? loc.keyword.line == condition.source_range.line end