Class: Charty::Plotters::BaseMapper
- Inherits:
-
Object
- Object
- Charty::Plotters::BaseMapper
- Defined in:
- lib/charty/plotters/relational_plotter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#plotter ⇒ Object
readonly
Returns the value of attribute plotter.
Instance Method Summary collapse
- #[](key, *args) ⇒ Object
-
#initialize(plotter, *params) ⇒ BaseMapper
constructor
A new instance of BaseMapper.
Constructor Details
#initialize(plotter, *params) ⇒ BaseMapper
Returns a new instance of BaseMapper.
4 5 6 7 |
# File 'lib/charty/plotters/relational_plotter.rb', line 4 def initialize(plotter, *params) @plotter = plotter initialize_mapping(*params) end |
Instance Attribute Details
#plotter ⇒ Object (readonly)
Returns the value of attribute plotter.
9 10 11 |
# File 'lib/charty/plotters/relational_plotter.rb', line 9 def plotter @plotter end |