Class: Inspec::Resources::SshdConf
- Defined in:
- lib/resources/ssh_conf.rb
Instance Method Summary collapse
-
#initialize(path = nil) ⇒ SshdConf
constructor
A new instance of SshdConf.
- #to_s ⇒ Object
Methods inherited from SshConf
#content, #convert_hash, #method_missing, #params
Constructor Details
#initialize(path = nil) ⇒ SshdConf
Returns a new instance of SshdConf.
94 95 96 |
# File 'lib/resources/ssh_conf.rb', line 94 def initialize(path = nil) super(path || '/etc/ssh/sshd_config') end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Inspec::Resources::SshConf
Instance Method Details
#to_s ⇒ Object
98 99 100 |
# File 'lib/resources/ssh_conf.rb', line 98 def to_s 'SSHD Configuration' end |