Class: Aws::Cfn::Dsl::FnCall
- Inherits:
-
Object
- Object
- Aws::Cfn::Dsl::FnCall
- Defined in:
- lib/aws/cfn/dsl/fncall.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#multiline ⇒ Object
readonly
Returns the value of attribute multiline.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, arguments, multiline = false) ⇒ FnCall
constructor
A new instance of FnCall.
- #to_s ⇒ Object
Constructor Details
#initialize(name, arguments, multiline = false) ⇒ FnCall
Returns a new instance of FnCall.
9 10 11 12 13 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 9 def initialize(name, arguments, multiline = false) @name = name @arguments = arguments @multiline = multiline end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
7 8 9 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 7 def arguments @arguments end |
#multiline ⇒ Object (readonly)
Returns the value of attribute multiline.
7 8 9 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 7 def multiline @multiline end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 7 def name @name end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 15 def to_s() @name + "(" + @arguments.join(', ') + ")" end |