Method: ChefAPI::Validator::Base#attribute

Defined in:
lib/chef-api/validators/base.rb

#attributeSymbol (readonly)

Returns the attribute to apply this validation on.

Returns:

  • (Symbol)

    the attribute to apply this validation on



7
8
9
# File 'lib/chef-api/validators/base.rb', line 7

def attribute
  @attribute
end