lib/vagrant-azure/util/template_renderer.rb
def render_with(method, template, data = {})
            renderer = new(template, data)
            yield renderer if block_given?
            renderer.send(method.to_sym)
          end
# Method used internally to DRY out the other renderers. This method
# creates and sets up the renderer before calling a specified method on it.
Method used internally to DRY out the other renderers. This method
creates and sets up the renderer before calling a specified method on it.
Method used internally to DRY out the other renderers . This method creates and sets up the renderer before calling a specified method on it .
def render_with(method, template, data = {})
            renderer = new(template, data)
            yield renderer if block_given?
            renderer.send(method.to_sym)
          end
def render_with ( method , template , data = { } ) renderer = new ( template , data ) yield renderer if block_given? renderer . send ( method . to_sym ) end
Method used internally to DRY out the other renderers.
Method used internally to DRY out the other renderers .
method
template
data