class Prism::Reflection::Field
A field represents a single piece of data on a node. It is the base class for all other field types.
Attributes
The name of the field.
Public Class Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/reflection.rb, line 24 def initialize(name) @name = name end
Initializes the field with the given name.