Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Support heredoc squiggly syntax #40

Description

@AlanFoster

Input

Ruby 2.3 supports the following syntax:

documentation = <<~HEREDOC.strip_heredoc
  hello world

  version: #{current_version}

  ----------------------------------------------------

  Usage:
    - etc
    - etc
    - etc
HEREDOC

Current output

documentation = 'hello world
'.strip_heredoc

Expected output

Same as input

Metadata

Metadata

Assignees

No one assigned

    Labels

    requires tokensA specific label showing dependency on https://github.com/iamsolankiamit/prettier-ruby/issues/50

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions