Class: SparkleFormation::JinjaStatementStruct

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

Overview

FunctionStruct for jinja statements

Instance Method Summary collapse

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



292
293
294
# File 'lib/sparkle_formation/function_struct.rb', line 292

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



297
298
299
# File 'lib/sparkle_formation/function_struct.rb', line 297

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



302
303
304
# File 'lib/sparkle_formation/function_struct.rb', line 302

def __empty_argument_list
  ""
end

#__single_quote_stringsFalseClass

Returns disable single quote string generation

Returns:

  • (FalseClass)

    disable single quote string generation



307
308
309
# File 'lib/sparkle_formation/function_struct.rb', line 307

def __single_quote_strings
  false
end

#_klassClass

Returns:

  • (Class)


312
313
314
# File 'lib/sparkle_formation/function_struct.rb', line 312

def _klass
  ::SparkleFormation::JinjaStatementStruct
end