Module: Fastlane::Branch::FastlaneFormat

Includes:
BranchIOCLI::Format
Included in:
FastlaneDescriptionFormat, FastlaneMarkdownFormat
Defined in:
lib/fastlane/plugin/branch/fastlane_format.rb

Instance Method Summary collapse

Instance Method Details

#option(opt) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/fastlane/plugin/branch/fastlane_format.rb', line 7

def option(opt)
  if opt =~ /^no_/
    opt_text = "#{opt.to_s.sub(/^no_/, '')}: false"
  else
    opt_text = opt.to_s
  end
  highlight opt_text
end