Method: Inspec::Attribute#to_hash

Defined in:
lib/inspec/objects/attribute.rb

#to_hashObject



24
25
26
27
28
29
# File 'lib/inspec/objects/attribute.rb', line 24

def to_hash
  {
    name: @name,
    options: @opts,
  }
end