Class: Inspec::Resources::SshdConfig
- Defined in:
- lib/inspec/resources/ssh_config.rb
Instance Method Summary collapse
- 
  
    
      #initialize(path = nil)  ⇒ SshdConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SshdConfig. 
- #to_s ⇒ Object
Methods inherited from SshConfig
#content, #convert_hash, #method_missing, #params
Methods included from FileReader
Constructor Details
#initialize(path = nil) ⇒ SshdConfig
Returns a new instance of SshdConfig.
| 90 91 92 | # File 'lib/inspec/resources/ssh_config.rb', line 90 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::SshConfig
Instance Method Details
#to_s ⇒ Object
| 94 95 96 | # File 'lib/inspec/resources/ssh_config.rb', line 94 def to_s "SSHD Configuration" end |