Class: Aws::Cfn::Dsl::FnCall
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.
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
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
6 7 8 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 6 def arguments @arguments end |
#multiline ⇒ Object (readonly)
Returns the value of attribute multiline.
6 7 8 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 6 def multiline @multiline end |
#name ⇒ Object (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_s ⇒ Object
14 15 16 |
# File 'lib/aws/cfn/dsl/fncall.rb', line 14 def to_s() @name + "(" + @arguments.join(', ') + ")" end |