module BranchIOCLI::Format::HighlineFormat
Public Instance Methods
header(text, level = 1)
click to toggle source
# File lib/branch_io_cli/format/highline_format.rb, line 8 def header(text, level = 1) highlight text end
highlight(text)
click to toggle source
# File lib/branch_io_cli/format/highline_format.rb, line 12 def highlight(text) "<%= color('#{text}', BOLD) %>" end
italics(text)
click to toggle source
# File lib/branch_io_cli/format/highline_format.rb, line 16 def italics(text) highlight text end