Class: OldSql::ReportDesign::CellData

Inherits:
Object
  • Object
show all
Defined in:
lib/old_sql/report_design/cell_data.rb

Constant Summary collapse

COLUMN =
1
LABEL =
2
OPERATOR =
3
NUMERIC_LITERAL =
4

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ CellData

Returns a new instance of CellData.



11
12
13
14
# File 'lib/old_sql/report_design/cell_data.rb', line 11

def initialize(value)
  @data = value
  set_type
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



4
5
6
# File 'lib/old_sql/report_design/cell_data.rb', line 4

def data
  @data
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/old_sql/report_design/cell_data.rb', line 4

def type
  @type
end