Class: IconBadge
- Inherits:
-
Object
- Object
- IconBadge
- Defined in:
- lib/icon_badge.rb
Overview
6210545734 Puvana
Class Method Summary collapse
-
.generator(hash = {}) ⇒ Object
Create Badge by IconBadge from the Shield Badge image.
Class Method Details
.generator(hash = {}) ⇒ Object
Create Badge by IconBadge from the Shield Badge image
Author:
Noboomta
puvana.jp36@gmail.com
https://github.com/Noboomta
Example:
>> require 'icon_badge'
>> IconBadge.generator :name => 'testBadge', :color => 'F7DF1E', :logoColor => 'red', :logo => 'javascript'
=> 
Example Arguments:
name: (String)
color: (String)
style: (String)
logo: (String)
logoColor: (String)
More information:
https://github.com/badges/shields
https://shields.io/
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/icon_badge.rb', line 30 def self.generator(hash = {}) url = '\n" print url end |