Sha256: 29cf1154513fc40bd7cd85306f85f442ba658ac0e5bd9928c5781b804851fd66
Contents?: true
Size: 194 Bytes
Versions: 1
Compression:
Stored size: 194 Bytes
Contents
module StylePalette::Helper def self.label(word, palette_name) style = StylePalette.brush(word, palette_name).style "<span class=\"badge\" style=\"#{style}\">#{word}</span>" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
style_palette-0.0.7 | lib/style_palette/helper.rb |