Class: Hash

Inherits:
Object show all
Defined in:
lib/aws/templates/utils.rb,
lib/aws/templates/utils/contextualized/hash.rb

Overview

Hash class patch

Adds to_filter method converting a hash into an Override filter

Direct Known Subclasses

Aws::Templates::Utils::ArtifactStorage

Instance Method Summary collapse

Instance Method Details

#to_filterObject

Convert to Override filter



10
11
12
# File 'lib/aws/templates/utils/contextualized/hash.rb', line 10

def to_filter
  Aws::Templates::Utils::Contextualized::Filter::Override.new(self)
end

#to_recursiveObject



6
7
8
# File 'lib/aws/templates/utils.rb', line 6

def to_recursive
  self
end