Class: SparkleFormation::GoogleStruct

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

Overview

FunctionStruct for customized google functions

Instance Attribute Summary

Attributes inherited from FunctionStruct

#_fn_args, #_fn_name

Instance Method Summary collapse

Methods inherited from FunctionStruct

#==, #[], #__quote_nested_funcs?, #__single_anchor?, #_clone, #_dump, #_eval_join, #eql?, #hash, #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_startString

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_stopString

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_listString

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_stringsFalseClass

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

#_klassClass

Returns:

  • (Class)


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

def _klass
  ::SparkleFormation::GoogleStruct
end