Class: Aws::Cfn::Dsl::FnCall

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/cfn/dsl/fncall.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, arguments, multiline = false) ⇒ FnCall

Returns a new instance of FnCall.



8
9
10
11
12
# File 'lib/aws/cfn/dsl/fncall.rb', line 8

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

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



6
7
8
# File 'lib/aws/cfn/dsl/fncall.rb', line 6

def arguments
  @arguments
end

#multilineObject (readonly)

Returns the value of attribute multiline.



6
7
8
# File 'lib/aws/cfn/dsl/fncall.rb', line 6

def multiline
  @multiline
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/aws/cfn/dsl/fncall.rb', line 6

def name
  @name
end

Instance Method Details

#to_sObject



14
15
16
# File 'lib/aws/cfn/dsl/fncall.rb', line 14

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