Class: Trackplot::Components::Grid
- Defined in:
- lib/trackplot/components/grid.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Trackplot::Components::Base
Instance Method Details
#to_config ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/trackplot/components/grid.rb', line 4 def to_config { type: "grid", horizontal: .fetch(:horizontal, true), vertical: .fetch(:vertical, false) }.compact end |