Sha256: 5ba9e97b316dab3097b1f92ff212f9df0951460ecfd6a596eace133273e069f7

Contents?: true

Size: 382 Bytes

Versions: 15

Compression:

Stored size: 382 Bytes

Contents

module Aws
  module Cfn
    module Dsl
      class FnCall
        attr_reader :name, :arguments, :multiline

        def initialize(name, arguments, multiline = false)
          @name = name
          @arguments = arguments
          @multiline = multiline
        end

        def to_s()
          @name + "(" + @arguments.join(', ') + ")"
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
aws-cfn-dsl-0.9.7 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.9.6 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.9.5 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.9.4 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.9.3 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.9.2 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.9.1 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.8.5 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.8.4 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.8.3 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.8.2 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.8.1 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.8.0 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.7.0 lib/aws/cfn/dsl/fncall.rb
aws-cfn-dsl-0.6.0 lib/aws/cfn/dsl/fncall.rb