Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

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

Resources

License

Releases

No releases published

Packages

No packages published