Sha256: 6a8273620c5928d20ba0433cfba5c65b6786b4f2e86dc77dac62cdcf288d3d6f

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

# Erb::Comment

A gem that supports [ruby/ruby#1075](https://github.com/ruby/ruby/pull/1075) ([ruby-core:71227](https://bugs.ruby-lang.org/issues/11624)).

## Installation

    $ gem install erb-comment

## Usage

```rb
require 'erb/comment'

erb = <<-ERB
<#-- <% hello %> --#>
hello
ERB

Erb::Comment.new(erb).result #=> "hello\n"
```

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
erb-comment-0.1.0 README.md