Method: Inspec::Profile#rules_count
- Defined in:
- lib/inspec/profile.rb
#rules_count ⇒ Object
136 137 138 |
# File 'lib/inspec/profile.rb', line 136 def rules_count @params[:rules].values.map { |hm| hm.values.length }.inject(:+) || 0 end |