Class: Prism::Relocation::SourceString
- Defined in:
- lib/prism/relocation.rb
Overview
A source that is represented by a string.
Instance Attribute Summary
Attributes inherited from Source
Instance Method Summary collapse
-
#result ⇒ Object
Reparse the string and return the parse result.
Methods inherited from Source
#code_units_cache, #initialize
Constructor Details
This class inherits a constructor from Prism::Relocation::Source
Instance Method Details
#result ⇒ Object
Reparse the string and return the parse result.
180 181 182 |
# File 'lib/prism/relocation.rb', line 180 def result Prism.parse(value) end |