Class: OlapReport::Cube::Measure::Statement
- Inherits:
-
Object
- Object
- OlapReport::Cube::Measure::Statement
- Defined in:
- lib/olap_report/cube/measure/statement.rb
Instance Attribute Summary collapse
-
#sql ⇒ Object
readonly
Returns the value of attribute sql.
Instance Method Summary collapse
-
#initialize(sql) ⇒ Statement
constructor
A new instance of Statement.
- #to_sql ⇒ Object
Constructor Details
#initialize(sql) ⇒ Statement
Returns a new instance of Statement.
5 6 7 |
# File 'lib/olap_report/cube/measure/statement.rb', line 5 def initialize(sql) @sql = sql end |
Instance Attribute Details
#sql ⇒ Object (readonly)
Returns the value of attribute sql.
3 4 5 |
# File 'lib/olap_report/cube/measure/statement.rb', line 3 def sql @sql end |
Instance Method Details
#to_sql ⇒ Object
9 10 11 |
# File 'lib/olap_report/cube/measure/statement.rb', line 9 def to_sql sql end |