Method: Inspec::Resources::Nginx#compiler_info
- Defined in:
- lib/resources/nginx.rb
#compiler_info ⇒ Object
48 49 50 51 |
# File 'lib/resources/nginx.rb', line 48 def compiler_info result = @data.scan(/built by (\S+)\s(\S+)\s(\S+)/).flatten Hashie::Mash.new({ 'compiler' => result[0], 'version' => result[1], 'date' => result[2] }) end |