Class: SparkleFormation::JinjaExpressionStruct

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

Overview

FunctionStruct for jinja expressions

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



263
264
265
# File 'lib/sparkle_formation/function_struct.rb', line 263

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



268
269
270
# File 'lib/sparkle_formation/function_struct.rb', line 268

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



273
274
275
# File 'lib/sparkle_formation/function_struct.rb', line 273

def __empty_argument_list
  ""
end

#__single_quote_stringsFalseClass

Returns disable single quote string generation

Returns:

  • (FalseClass)

    disable single quote string generation



278
279
280
# File 'lib/sparkle_formation/function_struct.rb', line 278

def __single_quote_strings
  false
end

#_klassClass

Returns:

  • (Class)


283
284
285
# File 'lib/sparkle_formation/function_struct.rb', line 283

def _klass
  ::SparkleFormation::JinjaExpressionStruct
end