class Burner::Modeling::AttributeRenderer

Composed of an Attribute instance and a Pipeline instance. It knows how to render/transform an Attribute. Since this library is data-first, these intermediary objects are necessary for non-data-centric modeling.

Attributes

attribute[R]
pipeline[R]

Public Class Methods

new(attribute, resolver) click to toggle source
# File lib/burner/modeling/attribute_renderer.rb, line 24
def initialize(attribute, resolver)
  @attribute = attribute
  @pipeline  = Realize::Pipeline.new(attribute.transformers, resolver: resolver)

  freeze
end