class Ruby::Prism::Relocation::TrailingCommentsField

A field representing the trailing comments.

Public Instance Methods

Fetches the trailing comments of a value.

: (_Value value) -> entry_values

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