Sample for Rails plugin gem. MyPlugin adds `exclamatize` helper to ActionView.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
spec
.gitignore
Gemfile
MIT-LICENSE
README.md
Rakefile
my_plugin.gemspec

README.md

MyPlugin

Sample for Rails plugin gem. MyPlugin adds exclamatize helper to ActionView.

Usage

In View:

exclamatize('hello world', 3)  # => "hello world!!!"
exclamatize('hello world')  # => "hello world!"

Installation

Add this line to your application's Gemfile:

gem 'my_plugin', git: 'https://github.com/takafumir/my_plugin'

And then execute:

$ bundle install

Contributing

  1. Fork it ( https://github.com/takafumir/my_plugin/fork )
  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 a new Pull Request

License

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