Method: Inspec::Resources::SshConf#method_missing
- Defined in:
- lib/resources/ssh_conf.rb
#method_missing(name) ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/resources/ssh_conf.rb', line 43 def method_missing(name) param = read_params[name.to_s.downcase] return nil if param.nil? # extract first value if we have only one value in array return param[0] if param.length == 1 param end |