Sha256: 6520b71ff5fa070f5643606d7f41452515f2be3351a4255e2c0dc4ad029d6796
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
module OldSql module ReportDesign class CellData attr_accessor :data, :type COLUMN = 1 LABEL = 2 OPERATOR = 3 def initialize(value) @data = value set_type end private def set_type first_char = @data[0] @type = case first_char when /['"]/ LABEL when /[\/*+]/ OPERATOR else COLUMN end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems