class Handlebars::Helpers::Misc::Noop

NoOp is a wrapper for blocks, it does no additional processing. It is useful for embedding blocks into the output when using raw operators {{{{noop}}}}

Public Instance Methods

handlebars_helper() click to toggle source

# Parse will do nothing and return. # It is useful for embedding blocks into the output when using raw operators {{{{noop}}}} # # @example # # puts Noop.new.parse() # # @return does nothing, but will allow inner blocks to be processed def parse() end

# File lib/handlebars/helpers/misc/noop.rb, line 26
def handlebars_helper
  proc do |context, block|
    # Handlebars::SafeString.new('<div class="bold">' + block.fn(context) + "</div>");

    block.fn(context)
  end
end