class Aws::Templates::Help::Rdoc::Parametrized::Transformations::AsHash
Hash transformation documentation
Outputs documentation blocks for key and value sub-parameters.
Public Instance Methods
provide()
click to toggle source
# File lib/aws/templates/help/rdoc/parametrized/transformations/as_hash.rb, line 16 def provide sub(text('as a hash where:'), key_value_description) end
Private Instance Methods
description_for(name, value)
click to toggle source
# File lib/aws/templates/help/rdoc/parametrized/transformations/as_hash.rb, line 30 def description_for(name, value) return sub(text("_#{name}_ can be anything")) if value.nil? processed_for(value) end
key_value_description()
click to toggle source
# File lib/aws/templates/help/rdoc/parametrized/transformations/as_hash.rb, line 22 def key_value_description list( :BULLET, description_for('key', context.key_parameter), description_for('value', context.value_parameter) ) end