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 lib/prism/reflection.rb, line 21 def initialize(name) @name = name end
Initializes the field with the given name.