Method: Axlsx.validate_pane_type
- Defined in:
- lib/axlsx/util/validators.rb
.validate_pane_type(v) ⇒ Object
Requires that the value is a valid active pane type. valid types must be one of bottom_left, bottom_right, top_left, top_right
285 286 287 |
# File 'lib/axlsx/util/validators.rb', line 285 def self.validate_pane_type(v) RestrictionValidator.validate :active_pane_type, [:bottom_left, :bottom_right, :top_left, :top_right], v end |