Class: Makesure::Cmd
- Inherits:
-
Object
- Object
- Makesure::Cmd
- Defined in:
- lib/makesure/cmd.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#cron ⇒ Object
readonly
Returns the value of attribute cron.
Instance Method Summary collapse
-
#initialize(cron, command) ⇒ Cmd
constructor
A new instance of Cmd.
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
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/makesure/cmd.rb', line 5 def command @command end |
#cron ⇒ Object (readonly)
Returns the value of attribute cron.
5 6 7 |
# File 'lib/makesure/cmd.rb', line 5 def cron @cron end |