Method: Inspec::Tag#initialize
- Defined in:
- lib/inspec/objects/tag.rb
#initialize(key, value) ⇒ Tag
Returns a new instance of Tag.
10 11 12 13 14 15 |
# File 'lib/inspec/objects/tag.rb', line 10 def initialize(key, value) @key = key @value = value Inspec.deprecate(:object_classes, "The Inspec::Tag class is deprecated. Use the Inspec::Object::Tag class from the inspec-objects Ruby library.") end |