Skip to content

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

License

Notifications You must be signed in to change notification settings

takafumir/my_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published