/hamlit-block

Hamlit extension to support capturing via yield

Primary LanguageRubyMIT LicenseMIT

Hamlit::Block

Hamlit extension to support capturing via yield

Installation

Add this line to your application's Gemfile:

gem 'hamlit-block'

And then execute:

$ bundle

Usage

Basically the same as Hamlit. require 'hamlit/block' may be necessary. Contents inside script block is not rendered but available via yield.

License

The gem is available as open source under the terms of the MIT License.