Sha256: dc5b780670fe826b7bc35343fe4df3e8193ead54c6069a150dc2487f17047c3a
Contents?: true
Size: 913 Bytes
Versions: 1
Compression:
Stored size: 913 Bytes
Contents
# Excise [](http://travis-ci.org/ezkl/excise) > This is a simple helper to extract values from a string based on a pattern. A Ruby port of [laktek's](https://github.com/laktek/) [extract-values](https://github.com/laktek/extract-values). ## Installation Add this line to your application's Gemfile: gem 'excise' And then execute: $ bundle Or install it yourself as: $ gem install excise ## Usage ```ruby require 'excise' Excise('About 49,000,000 results (0.15 seconds)', 'About {result_count} results ({load_time} seconds)') #=> {:result_count=>"49,000,000", :load_time=>"0.15"} ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
excise-0.1.1 | README.md |