Module: AWSCDK::IFragmentConcatenator

Included in:
StringConcat
Defined in:
i_fragment_concatenator.rb

Overview

Function used to concatenate symbols in the target document language.

Interface so it could potentially be exposed over jsii.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



20
21
22
23
24
# File 'i_fragment_concatenator.rb', line 20

def self.jsii_overridable_methods
  {
    :join => { kind: :method, name: "join", is_optional: false },
  }
end

Instance Method Details

#join(left, right) ⇒ Object

Join the fragment on the left and on the right.

Parameters:

  • left (Object)
  • right (Object)

Returns:

  • (Object)


14
15
16
17
18
# File 'i_fragment_concatenator.rb', line 14

def join(left, right)
  Jsii::Type.check_type(left, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "left")
  Jsii::Type.check_type(right, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "right")
  jsii_call_method("join", [left, right])
end