Class: Serverspec::Type::Cron

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/cron.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#has_entry?(user, entry) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/serverspec/type/cron.rb', line 4

def has_entry?(user, entry)
  backend.check_cron_entry(user, entry)
end

#to_sObject



7
8
9
# File 'lib/serverspec/type/cron.rb', line 7

def to_s
  'Cron'
end