A field that represents the file path.
Attributes
Read
The file path that this field represents.
Class Methods
::
lib/prism/relocation.rb
View on GitHub
# File tmp/rubies/ruby-3.4.1/lib/prism/relocation.rb, line 190
def initialize(value)
@value = value
end
Initialize a new field with the given file path.
Instance Methods
lib/prism/relocation.rb
View on GitHub
# File tmp/rubies/ruby-3.4.1/lib/prism/relocation.rb, line 195
def fields(_value)
{ filepath: value }
end
Fetch the file path.