Class: Clevic::Sampler::VirtualField
Overview
Hmm. The first reified exemplar of a relational nested Field
Instance Method Summary collapse
- #attribute ⇒ Object
- #display ⇒ Object
- #entity_class ⇒ Object
-
#initialize(entity_class, display) ⇒ VirtualField
constructor
A new instance of VirtualField.
- #meta ⇒ Object
- #set ⇒ Object
Constructor Details
#initialize(entity_class, display) ⇒ VirtualField
Returns a new instance of VirtualField.
109 110 111 |
# File 'lib/clevic/sampler.rb', line 109 def initialize( entity_class, display ) @entity_class, @display = entity_class, display end |
Instance Method Details
#attribute ⇒ Object
114 |
# File 'lib/clevic/sampler.rb', line 114 def attribute; @display; end |
#display ⇒ Object
115 |
# File 'lib/clevic/sampler.rb', line 115 def display; nil; end |
#entity_class ⇒ Object
113 |
# File 'lib/clevic/sampler.rb', line 113 def entity_class; @entity_class; end |
#meta ⇒ Object
116 |
# File 'lib/clevic/sampler.rb', line 116 def ; @entity_class.[attribute]; end |
#set ⇒ Object
117 |
# File 'lib/clevic/sampler.rb', line 117 def set; nil; end |