Class: Serverspec::Type::Fstab

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

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #to_ary

Constructor Details

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

Instance Method Details

#has_entry?(entry) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/serverspec/type/fstab.rb', line 3

def has_entry?(entry)
  @runner.check_fstab_has_entry(entry)
end

#to_sObject



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

def to_s
  'Fstab'
end