Sha256: d5b4fb8a0c7ac95abd7ccb234a555990ad96798164255d383793cdcf24f5a584
Contents?: true
Size: 338 Bytes
Versions: 3
Compression:
Stored size: 338 Bytes
Contents
# encoding: utf-8 module EvilFront::Helpers # Insert symbol of Russian currency. # # = order.price # = ruble # # Don’t forget to import ruble’s fonts and class in you Sass: # # +import-ruble("PT Sans, sans-serif", $regular: inline) def ruble EvilFront.html_safe('<span class="ruble">Р</span>') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
evil-front-0.5.1 | lib/evil-front/helpers/ruble.rb |
evil-front-0.5.0 | lib/evil-front/helpers/ruble.rb |
evil-front-0.4.0 | lib/evil-front/helpers/ruble.rb |