class Prism::Relocation::LeadingCommentsField
A field representing the leading comments.
Public Instance Methods
Source
# File lib/prism/relocation.rb, line 337
def fields(value)
{ leading_comments: comments(value.leading_comments) }
end Fetches the leading comments of a value.
Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.