class Ruby::Prism::Relocation::FilepathField
A field that represents the file path.
Attributes
The file path that this field represents.
Public Class Methods
Initialize a new field with the given file path.
: (String value) -> void
# File lib/ruby/prism/relocation.rb, line 279 def initialize(value) @value = value end
Public Instance Methods
Fetch the file path.
: (Value value) -> entry_values
# File lib/ruby/prism/relocation.rb, line 286 def fields(_value) { filepath: value } end