Sha256: 00cb6fc0d9c5d22d95498292b10d8af6f9dea17d30bf9f078e1f40c0f53972fd

Contents?: true

Size: 236 Bytes

Versions: 51

Compression:

Stored size: 236 Bytes

Contents

module Serverspec::Type
  class Cron < Base
    def has_entry?(user, entry)
      @runner.check_cron_has_entry(user, entry)
    end

    def table
      @runner.get_cron_table.stdout
    end

    def to_s
      'Cron'
    end
  end
end

Version data entries

51 entries across 51 versions & 3 rubygems

Version Path
serverspec-2.25.0 lib/serverspec/type/cron.rb
serverspec-2.24.3 lib/serverspec/type/cron.rb
serverspec-2.24.2 lib/serverspec/type/cron.rb
serverspec-2.24.1 lib/serverspec/type/cron.rb
serverspec-2.24.0 lib/serverspec/type/cron.rb
serverspec-2.23.1 lib/serverspec/type/cron.rb
serverspec-2.23.0 lib/serverspec/type/cron.rb
serverspec-2.22.0 lib/serverspec/type/cron.rb
serverspec-2.21.1 lib/serverspec/type/cron.rb
serverspec-2.21.0 lib/serverspec/type/cron.rb
serverspec-2.20.0 lib/serverspec/type/cron.rb