Class: Puppi::Files::Helper
- Inherits:
-
Object
- Object
- Puppi::Files::Helper
- Defined in:
- lib/puppi/files/helper.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Helper
constructor
A new instance of Helper.
Constructor Details
#initialize(args = {}) ⇒ Helper
Returns a new instance of Helper.
6 7 8 9 |
# File 'lib/puppi/files/helper.rb', line 6 def initialize args = {} @command = args[:command] @description = args[:description] end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
4 5 6 |
# File 'lib/puppi/files/helper.rb', line 4 def command @command end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
4 5 6 |
# File 'lib/puppi/files/helper.rb', line 4 def description @description end |