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
name[R]
The name of the field.
Public Class Methods
new(name)
click to toggle source
Initializes the field with the given name.
# File prism/reflection.rb, line 21 def initialize(name) @name = name end