class Fastlane::PluginInfo

Attributes

author[R]
details[R]
email[R]
gem_name[R]
plugin_name[R]
summary[R]

Public Class Methods

new(plugin_name, author, email, summary, details) click to toggle source
# File fastlane/lib/fastlane/plugins/plugin_info.rb, line 10
def initialize(plugin_name, author, email, summary, details)
  @plugin_name = plugin_name
  @author = author
  @email = email
  @summary = summary
  @details = details
end

Public Instance Methods

==(other) click to toggle source

rubocop:enable Naming/AccessorMethodName

# File fastlane/lib/fastlane/plugins/plugin_info.rb, line 42
def ==(other)
  @plugin_name == other.plugin_name &&
    @author == other.author &&
    @email == other.email &&
    @summary == other.summary
end
actions_path() click to toggle source
# File fastlane/lib/fastlane/plugins/plugin_info.rb, line 26
def actions_path
  File.join(require_path, 'actions')
end
get_binding() click to toggle source

Used to expose a local binding for use in ERB templating

rubocop:disable Naming/AccessorMethodName

# File fastlane/lib/fastlane/plugins/plugin_info.rb, line 37
def get_binding
  binding
end
helper_path() click to toggle source
# File fastlane/lib/fastlane/plugins/plugin_info.rb, line 30
def helper_path
  File.join(require_path, 'helper')
end
require_path() click to toggle source
# File fastlane/lib/fastlane/plugins/plugin_info.rb, line 22
def require_path
  gem_name.tr('-', '/')
end