Method: Barcode1DTools::Matrix2of5#wn
- Defined in:
- lib/barcode1dtools/matrix2of5.rb
#wn ⇒ Object
Returns a string of “w” or “n” (“wide” and “narrow”).
203 204 205 |
# File 'lib/barcode1dtools/matrix2of5.rb', line 203 def wn @wn ||= wn_str.tr('wn', @options[:w_character].to_s + @options[:n_character].to_s) end |