lib/kumogata/ext/string_ext.rb in kumogata-0.5.9 vs lib/kumogata/ext/string_ext.rb in kumogata-0.5.10

- old
+ new

@@ -120,9 +120,35 @@ end #{null.inspect} end + def Fn__If(value) + value = {'Fn::If' => @__value_conv__[value]} + + case @__functions__ + when Array + @__functions__ << value + when Hash + @__functions__.update(value) + end + + #{null.inspect} + end + + def Fn__Select(value) + value = {'Fn::Select' => @__value_conv__[value]} + + case @__functions__ + when Array + @__functions__ << value + when Hash + @__functions__.update(value) + end + + #{null.inspect} + end + def Ref(value) value = {'Ref' => value} case @__functions__ when Array