lib/zhong/web_helpers.rb in zhong-0.2.1 vs lib/zhong/web_helpers.rb in zhong-0.2.2

- old
+ new

@@ -1,8 +1,10 @@ # frozen_string_literal: true require "uri" module Zhong + # Most of the following helpers are copied from a previous version of the Sidekiq project + # available here: https://github.com/mperham/sidekiq/blob/2c9f7662fcdcb52d59b72ba0fe7dc5f963de4904/lib/sidekiq/web_helpers.rb module WebHelpers # Simple capture method for erb templates. The origin was # capture method from sinatra-contrib library. def capture(&block) block.call