Class: Fastlane::PluginInfo
- Inherits:
-
Object
- Object
- Fastlane::PluginInfo
- Defined in:
- fastlane/lib/fastlane/plugins/plugin_info.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#gem_name ⇒ Object
readonly
Returns the value of attribute gem_name.
-
#plugin_name ⇒ Object
readonly
Returns the value of attribute plugin_name.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Instance Method Summary collapse
-
#==(other) ⇒ Object
rubocop:enable Naming/AccessorMethodName.
- #actions_path ⇒ Object
-
#get_binding ⇒ Object
Used to expose a local binding for use in ERB templating.
- #helper_path ⇒ Object
-
#initialize(plugin_name, author, email, summary, details) ⇒ PluginInfo
constructor
A new instance of PluginInfo.
- #require_path ⇒ Object
Constructor Details
#initialize(plugin_name, author, email, summary, details) ⇒ PluginInfo
Returns a new instance of PluginInfo.
10 11 12 13 14 15 16 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 10 def initialize(plugin_name, , email, summary, details) @plugin_name = plugin_name @author = @email = email @summary = summary @details = details end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
4 5 6 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 4 def @author end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
8 9 10 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 8 def details @details end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
6 7 8 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 6 def email @email end |
#gem_name ⇒ Object (readonly)
Returns the value of attribute gem_name.
5 6 7 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 5 def gem_name @gem_name end |
#plugin_name ⇒ Object (readonly)
Returns the value of attribute plugin_name.
3 4 5 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 3 def plugin_name @plugin_name end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
7 8 9 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 7 def summary @summary end |
Instance Method Details
#==(other) ⇒ Object
rubocop:enable Naming/AccessorMethodName
42 43 44 45 46 47 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 42 def ==(other) @plugin_name == other.plugin_name && @author == other. && @email == other.email && @summary == other.summary end |
#actions_path ⇒ Object
26 27 28 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 26 def actions_path File.join(require_path, 'actions') end |
#get_binding ⇒ Object
Used to expose a local binding for use in ERB templating
rubocop:disable Naming/AccessorMethodName
37 38 39 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 37 def get_binding binding end |
#helper_path ⇒ Object
30 31 32 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 30 def helper_path File.join(require_path, 'helper') end |
#require_path ⇒ Object
22 23 24 |
# File 'fastlane/lib/fastlane/plugins/plugin_info.rb', line 22 def require_path gem_name.tr('-', '/') end |