Sha256: 07848b7cdb7524d8b7d03e24b0b48d43631554a27d8de124959a84b9d5dfc46d
Contents?: true
Size: 450 Bytes
Versions: 21
Compression:
Stored size: 450 Bytes
Contents
require 'super_formatter/row' module SuperFormatter module Tcat 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
21 entries across 21 versions & 1 rubygems