Class: CSVPlusPlus::Language::Entities::CellReference
- Defined in:
- lib/csv_plus_plus/language/entities/cell_reference.rb
Overview
A reference to a cell
Instance Attribute Summary collapse
-
#cell_reference ⇒ Object
readonly
Returns the value of attribute cell_reference.
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(cell_reference) ⇒ CellReference
constructor
initialize.
-
#to_s ⇒ Object
to_s.
Methods inherited from Entity
#==, #method_missing, #respond_to_missing?
Constructor Details
#initialize(cell_reference) ⇒ CellReference
initialize
14 15 16 17 |
# File 'lib/csv_plus_plus/language/entities/cell_reference.rb', line 14 def initialize(cell_reference) super(:cell_reference) @cell_reference = cell_reference end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CSVPlusPlus::Language::Entities::Entity
Instance Attribute Details
#cell_reference ⇒ Object (readonly)
Returns the value of attribute cell_reference.
11 12 13 |
# File 'lib/csv_plus_plus/language/entities/cell_reference.rb', line 11 def cell_reference @cell_reference end |
Instance Method Details
#to_s ⇒ Object
to_s
20 21 22 |
# File 'lib/csv_plus_plus/language/entities/cell_reference.rb', line 20 def to_s @cell_reference end |