module EntityProjection::Build

Public Instance Methods

build(entity) click to toggle source
# File lib/entity_projection/entity_projection.rb, line 23
def build(entity)
  instance = new(entity)
  instance.configure
  instance
end