Class: Puppi::Files::Helper

Inherits:
Object
  • Object
show all
Defined in:
lib/puppi/files/helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandObject (readonly)

Returns the value of attribute command.



4
5
6
# File 'lib/puppi/files/helper.rb', line 4

def command
  @command
end

#descriptionObject (readonly)

Returns the value of attribute description.



4
5
6
# File 'lib/puppi/files/helper.rb', line 4

def description
  @description
end