class Fastlane::FastlanePlugin

Attributes

downloads[RW]
full_name[RW]
homepage[RW]
info[RW]
name[RW]

Public Class Methods

new(hash) click to toggle source
# File fastlane/lib/fastlane/plugins/plugin_fetcher.rb, line 41
def initialize(hash)
  self.full_name = hash["name"]
  self.name = self.full_name.gsub(PluginManager.plugin_prefix, '')
  self.downloads = hash["downloads"]
  self.info = hash["info"]
  self.homepage = hash["homepage_uri"]
end

Public Instance Methods

linked_title() click to toggle source
# File fastlane/lib/fastlane/plugins/plugin_fetcher.rb, line 49
def linked_title
  return "`#{name}`" if homepage.to_s.length == 0
  return "[#{name}](#{homepage})"
end