Class: Makesure::Cmd

Inherits:
Object
  • Object
show all
Defined in:
lib/makesure/cmd.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cron, command) ⇒ Cmd

Returns a new instance of Cmd.



7
8
9
10
# File 'lib/makesure/cmd.rb', line 7

def initialize(cron, command)
  @cron    = cron
  @command = command
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



5
6
7
# File 'lib/makesure/cmd.rb', line 5

def command
  @command
end

#cronObject (readonly)

Returns the value of attribute cron.



5
6
7
# File 'lib/makesure/cmd.rb', line 5

def cron
  @cron
end