Class: Kosi::HorizontalBorderChar

Inherits:
CharOption show all
Defined in:
lib/kosi/horizontal_border_char.rb

Overview

HorizontalBorderChar

Constant Summary collapse

DEFAULT =
'-'
INVALID_CHAR_MSG =
'horizontal_border_char must be 1 length(%d) char %s'

Instance Attribute Summary

Attributes inherited from CharOption

#value

Instance Method Summary collapse

Methods inherited from CharOption

#initialize

Constructor Details

This class inherits a constructor from Kosi::CharOption

Instance Method Details

#defaultObject



13
14
15
# File 'lib/kosi/horizontal_border_char.rb', line 13

def default
  DEFAULT
end

#keyObject



17
18
19
# File 'lib/kosi/horizontal_border_char.rb', line 17

def key
  OptionKeys::HORIZONTAL_BORDER_CHAR
end