Method: Inspec::Rule#tag
- Defined in:
- lib/inspec/rule.rb
#tag(*args) ⇒ Object
117 118 119 120 121 122 123 124 125 126 |
# File 'lib/inspec/rule.rb', line 117 def tag(*args) args.each do |arg| if arg.is_a?(Hash) @tags.merge!(arg) else @tags[arg] ||= nil end end @tags end |