Class: OldSql::ReportDesign::ChartData

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

Constant Summary collapse

COLUMN =
1
OPERATOR =
3
NUMERIC_LITERAL =
4

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ChartData

Returns a new instance of ChartData.



10
11
12
13
# File 'lib/old_sql/report_design/chart_data.rb', line 10

def initialize(value)
  @value = value
  set_type
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#valueObject

Returns the value of attribute value.



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

def value
  @value
end