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
Methods included from FileReader
Constructor Details
#initialize(path = nil) ⇒ SshdConf
Returns a new instance of SshdConf.
89 90 91 |
# File 'lib/resources/ssh_conf.rb', line 89 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
93 94 95 |
# File 'lib/resources/ssh_conf.rb', line 93 def to_s 'SSHD Configuration' end |