Class: FPM::Cookery::Package::Maintainer
- Inherits:
-
Struct
- Object
- Struct
- FPM::Cookery::Package::Maintainer
- Defined in:
- lib/fpm/cookery/package/maintainer.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#recipe ⇒ Object
Returns the value of attribute recipe.
Instance Method Summary collapse
- #maintainer ⇒ Object
- #to_s ⇒ Object (also: #to_str)
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
7 8 9 |
# File 'lib/fpm/cookery/package/maintainer.rb', line 7 def config @config end |
#recipe ⇒ Object
Returns the value of attribute recipe
7 8 9 |
# File 'lib/fpm/cookery/package/maintainer.rb', line 7 def recipe @recipe end |
Instance Method Details
#maintainer ⇒ Object
8 9 10 |
# File 'lib/fpm/cookery/package/maintainer.rb', line 8 def maintainer config_maintainer || recipe_maintainer || git_maintainer || default_maintainer end |
#to_s ⇒ Object Also known as: to_str
12 13 14 |
# File 'lib/fpm/cookery/package/maintainer.rb', line 12 def to_s maintainer end |