class Prism::Relocation::FilepathField
A field that represents the file path.
Attributes
Public Class Methods
(String value) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/lib/prism/relocation.rb, line 191 def initialize(value) @value = value end
Initialize a new field with the given file path.
Public Instance Methods
(_Value value) → entry_values
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-1.9.0/lib/prism/relocation.rb, line 196 def fields(_value) { filepath: value } end
Fetch the file path.