Class: Prism::Reflection::Field
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Subclasses:
|
|
| Inherits: | Object |
| Defined in: | lib/prism/reflection.rb |
Overview
A field represents a single piece of data on a node. It is the base class for all other field types.
Class Method Summary
-
.new(name) ⇒ Field
constructor
Initializes the field with the given name.
Instance Attribute Summary
-
#name
readonly
The name of the field.
Constructor Details
.new(name) ⇒ Field
Initializes the field with the given name.
Instance Attribute Details
#name (readonly)
The name of the field.
# File 'lib/prism/reflection.rb', line 21
attr_reader :name