class Prism::Relocation::LeadingCommentsField

A field representing the leading comments.

Public Instance Methods

fields(value) click to toggle source

Fetches the leading comments of a value.

# File prism/relocation.rb, line 337
def fields(value)
  { leading_comments: comments(value.leading_comments) }
end