Class
A field represents a single piece of data on a node. It is the base class for all other field types.
Attributes
Read
The name of the field.
Class Methods
::
lib/prism/reflection.rb
View on GitHub
# File tmp/rubies/ruby-3.4.1/lib/prism/reflection.rb, line 21
def initialize(name)
@name = name
end
Initializes the field with the given name.