Top Level Namespace

Defined Under Namespace

Modules: AocCli

Instance Method Summary collapse

Instance Method Details

#flag(short, full) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/aoc_cli/help.rb', line 4

def flag(short, full)
  str = "    #{short.yellow.bold} [#{full.blue.italic}]"
  full.length > 6 ?
    str += "\t"  :
    str += "\t\t"
  str
end

#title(title) ⇒ Object



1
2
3
# File 'lib/aoc_cli/help.rb', line 1

def title(title)
  "#{title.bold}"
end