Module: Jig::CSS::IntegerHelper
- Defined in:
- lib/jig/css.rb
Instance Method Summary collapse
- #cm ⇒ Object
- #em ⇒ Object
- #ex ⇒ Object
- #in ⇒ Object
- #mm ⇒ Object
- #pc ⇒ Object
- #pct ⇒ Object
- #pt ⇒ Object
- #px ⇒ Object
Instance Method Details
#cm ⇒ Object
37 |
# File 'lib/jig/css.rb', line 37 def cm; "#{self}cm"; end |
#em ⇒ Object
41 |
# File 'lib/jig/css.rb', line 41 def em; "#{self}em"; end |
#ex ⇒ Object
42 |
# File 'lib/jig/css.rb', line 42 def ex; "#{self}ex"; end |
#in ⇒ Object
36 |
# File 'lib/jig/css.rb', line 36 def in; "#{self}in"; end |
#mm ⇒ Object
38 |
# File 'lib/jig/css.rb', line 38 def mm; "#{self}mm"; end |
#pc ⇒ Object
40 |
# File 'lib/jig/css.rb', line 40 def pc; "#{self}pc"; end |
#pct ⇒ Object
44 |
# File 'lib/jig/css.rb', line 44 def pct; "#{self}%"; end |
#pt ⇒ Object
39 |
# File 'lib/jig/css.rb', line 39 def pt; "#{self}pt"; end |
#px ⇒ Object
43 |
# File 'lib/jig/css.rb', line 43 def px; "#{self}px"; end |