Class: OptionParser

Inherits:
Object show all
Defined in:
lib/jira/auto/tool/helpers/option_parser.rb

Instance Method Summary collapse

Instance Method Details

#section_header(section_name) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/jira/auto/tool/helpers/option_parser.rb', line 7

def section_header(section_name)
  header_name = "#{section_name}:"

  on <<~EOSH

    #{header_name}
    #{header_name.gsub(/./, "*")}
  EOSH
end