lib/rubyoshka.rb
# Renders the associated block and returns the string result
# @param context [Hash] context
# @return [String]
Renders the associated block and returns the string result
Renders the associated block and returns the string result
def render(context = H_EMPTY, &block)
    if block
      context = context.dup if context.frozen?
      context[:__block__] = block
    end
    renderer_class.new(context, @template).to_s
  end
def render ( context = H_EMPTY , & block ) if block context = context . dup if context . frozen? context [ :__block__ ] = block end renderer_class . new ( context , @template ) . to_s end
Renders the associated block and returns the string result
Renders the associated block and returns the string result
None
String
context
None
block
<not_specific>