class Prism::Relocation::TrailingCommentsField

A field representing the trailing comments.

Public Instance Methods

Fetches the trailing comments of a value.

# File lib/prism/relocation.rb, line 345
def fields(value)
  { trailing_comments: comments(value.trailing_comments) }
end