Module: Jekyll::EmplidFormat
- Defined in:
- jekyll/_plugins/emplid-format.rb
Instance Method Summary collapse
Instance Method Details
#emplid(input) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'jekyll/_plugins/emplid-format.rb', line 25 def emplid(input) if input.to_s == '' # It's nil or empty "--" else "#{format("%09d", input.to_i)}" end end |