Class: SparkleFormation::TerraformStruct
- Inherits:
-
FunctionStruct
- Object
- AttributeStruct
- FunctionStruct
- SparkleFormation::TerraformStruct
- Defined in:
- lib/sparkle_formation/function_struct.rb
Overview
FunctionStruct for customized terraform functions
Instance Method Summary collapse
-
#__anchor_start ⇒ String
Start character(s) used to anchor function call.
-
#__anchor_stop ⇒ String
Stop character(s) used to anchor function call.
-
#__empty_argument_list ⇒ String
Value to use when argument list is empty.
- #__quote_nested_funcs? ⇒ Boolean
-
#__single_anchor? ⇒ FalseClass
Wrap every structure in anchors.
-
#__single_quote_strings ⇒ FalseClass
Disable single quote string generation.
- #_klass ⇒ Class
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_start ⇒ String
Returns 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_stop ⇒ String
Returns 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_list ⇒ String
Returns 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
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
370 371 372 |
# File 'lib/sparkle_formation/function_struct.rb', line 370 def __single_anchor? true end |
#__single_quote_strings ⇒ FalseClass
Returns disable single quote string generation
365 366 367 |
# File 'lib/sparkle_formation/function_struct.rb', line 365 def __single_quote_strings false end |
#_klass ⇒ Class
379 380 381 |
# File 'lib/sparkle_formation/function_struct.rb', line 379 def _klass ::SparkleFormation::TerraformStruct end |