Method: AzureResourceProbe#include?

Defined in:
lib/resources/azure/azure_backend.rb

#include?(key) ⇒ Boolean

Allows resources to respond to the include test This means that things like tags can be checked for and then their value tested

Parameters:

  • key (String)

    Name of the item to look for in the @item property

Returns:

  • (Boolean)

Since:

  • 0.2.0



363
364
365
# File 'lib/resources/azure/azure_backend.rb', line 363

def include?(key)
  @item.key?(key)
end