# Rails::Protip [![Build Status](https://travis-ci.org/ethirajsrinivasan/rails-protip.svg?branch=master)](https://travis-ci.org/ethirajsrinivasan/rails-protip) [![Code Climate](https://codeclimate.com/github/ethirajsrinivasan/rails-protip/badges/gpa.svg)](https://codeclimate.com/github/ethirajsrinivasan/rails-protip) [![security](https://hakiri.io/github/ethirajsrinivasan/rails-protip/master.svg)](https://hakiri.io/github/ethirajsrinivasan/rails-protip/master) rails-protip is tooltip gem based on jquery protip plugin ## Installation Add this line to your application's Gemfile: ```ruby gem 'rails-protip' ``` And then execute: $ bundle install Or install it yourself as: $ gem install rails-protip To use this gem add this require statement to your application.js file: //= require protip and in application.css file as follows *= require protip ## Usage <%= link_to "Go to the bar!","#bar", class: "protip", "data-pt-title"=> "You must be at least 18!"%> You can also set default configuration in protip.yml under config folder, example scheme: "orange" skin: "square" Support for animation is also provided, example