module Fastlane::Branch::FastlaneMarkdownFormat

Public Instance Methods

local_render(template) click to toggle source
# File lib/fastlane/plugin/branch/fastlane_format.rb, line 21
def local_render(template)
  path = File.expand_path(File.join("..", "..", "..", "..", "..", "assets", "templates", "#{template}.erb"), __FILE__)
  ERB.new(File.read(path)).result binding
end
table_option(option) click to toggle source
# File lib/fastlane/plugin/branch/fastlane_format.rb, line 26
def table_option(option)
  "|#{option.name}|#{option.description}|#{option.env_name}|#{option.type.nil? ? 'Boolean' : option.type.name}|#{option.default_value}|"
end