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

Parameters:

  • v (Any)

    The value validated



340
341
342
# File 'lib/axlsx/util/validators.rb', line 340

def self.validate_pane_type(v)
  RestrictionValidator.validate :active_pane_type, VALID_PANE_TYPE_VALUES, v
end