Class: SparkleFormation::GoogleStruct

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

Overview

FunctionStruct for customized google functions

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_start ⇒ String

Returns start character(s) used to anchor function call

Returns:

  • (String) —

    start character(s) used to anchor function call



321
322
323
# File 'lib/sparkle_formation/function_struct.rb', line 321

def __anchor_start
  "$("
end

#__anchor_stop ⇒ String

Returns stop character(s) used to anchor function call

Returns:

  • (String) —

    stop character(s) used to anchor function call



326
327
328
# File 'lib/sparkle_formation/function_struct.rb', line 326

def __anchor_stop
  ")"
end

#__empty_argument_list ⇒ String

Returns value to use when argument list is empty

Returns:

  • (String) —

    value to use when argument list is empty



331
332
333
# File 'lib/sparkle_formation/function_struct.rb', line 331

def __empty_argument_list
  ""
end

#__single_quote_strings ⇒ FalseClass

Returns disable single quote string generation

Returns:

  • (FalseClass) —

    disable single quote string generation



336
337
338
# File 'lib/sparkle_formation/function_struct.rb', line 336

def __single_quote_strings
  false
end

#_klass ⇒ Class

Returns:

  • (Class)


341
342
343
# File 'lib/sparkle_formation/function_struct.rb', line 341

def _klass
  ::SparkleFormation::GoogleStruct
end