Class: SparkleFormation::TerraformStruct
- Inherits:
-
FunctionStruct
- Object
- AttributeStruct
- FunctionStruct
- SparkleFormation::TerraformStruct
- Defined in:
- lib/sparkle_formation/function_struct.rb
Overview
FunctionStruct for customized terraform functions
Constant Summary collapse
- SINGLE_ANCHOR =
true
Instance Attribute Summary
Attributes inherited from FunctionStruct
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
Methods inherited from FunctionStruct
#[], #_dump, #_eval_join, #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_start ⇒ String
Returns start character(s) used to anchor function call.
274 275 276 |
# File 'lib/sparkle_formation/function_struct.rb', line 274 def __anchor_start '${' end |
#__anchor_stop ⇒ String
Returns stop character(s) used to anchor function call.
279 280 281 |
# File 'lib/sparkle_formation/function_struct.rb', line 279 def __anchor_stop '}' end |
#__empty_argument_list ⇒ String
Returns value to use when argument list is empty.
284 285 286 |
# File 'lib/sparkle_formation/function_struct.rb', line 284 def __empty_argument_list '' end |
#__quote_nested_funcs? ⇒ Boolean
298 299 300 |
# File 'lib/sparkle_formation/function_struct.rb', line 298 def __quote_nested_funcs? false end |
#__single_anchor? ⇒ FalseClass
Returns wrap every structure in anchors.
294 295 296 |
# File 'lib/sparkle_formation/function_struct.rb', line 294 def __single_anchor? true end |
#__single_quote_strings ⇒ FalseClass
Returns disable single quote string generation.
289 290 291 |
# File 'lib/sparkle_formation/function_struct.rb', line 289 def __single_quote_strings false end |
#_klass ⇒ Class
303 304 305 |
# File 'lib/sparkle_formation/function_struct.rb', line 303 def _klass ::SparkleFormation::TerraformStruct end |