Module: CloudShaped::FunctionMethods
- Included in:
- DSL, Interpolation
- Defined in:
- lib/cloud_shaped/function_methods.rb
Instance Method Summary collapse
-
#fn_base64(arg) ⇒ Object
Syntax sugar for Fn::Base64.
-
#fn_join(separator, lines) ⇒ Object
Syntax sugar for Fn::Join.
Instance Method Details
#fn_base64(arg) ⇒ Object
Syntax sugar for Fn::Base64.
7 8 9 |
# File 'lib/cloud_shaped/function_methods.rb', line 7 def fn_base64(arg) { "Fn::Base64" => arg } end |
#fn_join(separator, lines) ⇒ Object
Syntax sugar for Fn::Join.
13 14 15 16 17 18 19 |
# File 'lib/cloud_shaped/function_methods.rb', line 13 def fn_join(separator, lines) { "Fn::Join" => [ separator, lines ] } end |