class Prism::Relocation::CommentsField

An abstract field used as the parent class of the two comments fields.

Private Instance Methods

comments(values) click to toggle source

Create comment objects from the given values.

# File prism/relocation.rb, line 329
def comments(values)
  values.map { |value| Comment.new(value.slice) }
end