Method: Inspec::Attribute#default
- Defined in:
- lib/inspec/objects/attribute.rb
#default ⇒ Object
39 40 41 |
# File 'lib/inspec/objects/attribute.rb', line 39 def default @opts.key?(:default) ? @opts[:default] : DEFAULT_ATTRIBUTE.new(@name) end |