Skip to content

Incorrect indentation for chained methods with multi-line arguments #328

Closed
@vais

Description

@vais
class KeywordNormalizer
  def call(keywords)
    Collection.new(keywords)
      .strip_outer_punctuation
      .fix_spanish(
    one: two,
    three: four,
    five: six
    )
      .clean_inner_punctuation
      .remove_stop_words
      .to_a
  end
end

😕

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions