Method: Inspec::Attribute#initialize
- Defined in:
- lib/inspec/objects/attribute.rb
#initialize(name, options = {}) ⇒ Attribute
Returns a new instance of Attribute.
18 19 20 21 22 |
# File 'lib/inspec/objects/attribute.rb', line 18 def initialize(name, = {}) @name = name @opts = @value = nil end |