Class: FPM::Scriptable::Constants::ScriptConstants
- Inherits:
-
Object
- Object
- FPM::Scriptable::Constants::ScriptConstants
- Defined in:
- lib/fpm/scriptable/constants.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#dstdir ⇒ Object
Returns the value of attribute dstdir.
-
#iteration ⇒ Object
Returns the value of attribute iteration.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ ScriptConstants
constructor
A new instance of ScriptConstants.
Constructor Details
#initialize ⇒ ScriptConstants
Returns a new instance of ScriptConstants.
43 44 45 46 47 48 |
# File 'lib/fpm/scriptable/constants.rb', line 43 def initialize @version = '1.0' @iteration = '1' @description = "Packages built using #{@name} v#{@version}" @dstdir = '.' end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
41 42 43 |
# File 'lib/fpm/scriptable/constants.rb', line 41 def description @description end |
#dstdir ⇒ Object
Returns the value of attribute dstdir.
41 42 43 |
# File 'lib/fpm/scriptable/constants.rb', line 41 def dstdir @dstdir end |
#iteration ⇒ Object
Returns the value of attribute iteration.
41 42 43 |
# File 'lib/fpm/scriptable/constants.rb', line 41 def iteration @iteration end |
#version ⇒ Object
Returns the value of attribute version.
41 42 43 |
# File 'lib/fpm/scriptable/constants.rb', line 41 def version @version end |