mibamur / hamlit-block

Hamlit extension to support capturing via yield

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Hamlit extension to support capturing via yield

License:MIT License


Languages

Language:Ruby 97.6%Language:Shell 2.4%