class Uber::Builder::Constant

Computes the concrete target class.

Public Class Methods

new(constant, context) click to toggle source
# File lib/uber/builder.rb, line 35
def initialize(constant, context)
  @constant     = constant
  @context      = context
  @builders     = @constant.builders # only dependency, must be a Cell::Base subclass.
end

Public Instance Methods

call(*args) click to toggle source
# File lib/uber/builder.rb, line 41
def call(*args)
  build_class_for(*args)
end