Class: SparkleFormation::TerraformStruct

Inherits:
FunctionStruct
  • Object
show all
Defined in:
lib/sparkle_formation/function_struct.rb

Overview

FunctionStruct for customized terraform functions

Instance Attribute Summary

Attributes inherited from FunctionStruct

#_fn_args, #_fn_name

Instance Method Summary collapse

Methods inherited from FunctionStruct

#==, #[], #_clone, #_dump, #_eval_join, #eql?, #hash, #initialize, #inspect, #method_missing, #nil?, #root?, #to_s

Constructor Details

This class inherits a constructor from SparkleFormation::FunctionStruct

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SparkleFormation::FunctionStruct

Instance Method Details

#__anchor_startString

Returns start character(s) used to anchor function call.

Returns:

  • (String)

    start character(s) used to anchor function call



350
351
352
# File 'lib/sparkle_formation/function_struct.rb', line 350

def __anchor_start
  "${"
end

#__anchor_stopString

Returns stop character(s) used to anchor function call.

Returns:

  • (String)

    stop character(s) used to anchor function call



355
356
357
# File 'lib/sparkle_formation/function_struct.rb', line 355

def __anchor_stop
  "}"
end

#__empty_argument_listString

Returns value to use when argument list is empty.

Returns:

  • (String)

    value to use when argument list is empty



360
361
362
# File 'lib/sparkle_formation/function_struct.rb', line 360

def __empty_argument_list
  ""
end

#__quote_nested_funcs?Boolean

Returns:

  • (Boolean)


374
375
376
# File 'lib/sparkle_formation/function_struct.rb', line 374

def __quote_nested_funcs?
  false
end

#__single_anchor?FalseClass

Returns wrap every structure in anchors.

Returns:

  • (FalseClass)

    wrap every structure in anchors



370
371
372
# File 'lib/sparkle_formation/function_struct.rb', line 370

def __single_anchor?
  true
end

#__single_quote_stringsFalseClass

Returns disable single quote string generation.

Returns:

  • (FalseClass)

    disable single quote string generation



365
366
367
# File 'lib/sparkle_formation/function_struct.rb', line 365

def __single_quote_strings
  false
end

#_klassClass

Returns:

  • (Class)


379
380
381
# File 'lib/sparkle_formation/function_struct.rb', line 379

def _klass
  ::SparkleFormation::TerraformStruct
end