Sha256: 02968ce25f740338520728089d7dc566d96d59e50919e996c2241cd563d20bd5
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
require "super_formatter/row" module SuperFormatter module Hct class Row < ::SuperFormatter::Row def tracking_code (find(:tracking_code) || "").gsub("'", "") end def mobile @mobile ||= begin text = (find(:mobile) || "").gsub("'", "") if text[0] == "9" && text.length == 9 "0#{text}" else text end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
super_tools-3.0.1 | lib/super_formatter/hct/row.rb |