Class: Parameter

Inherits:
String
  • Object
show all
Defined in:
lib/cloudformation-ruby-dsl/dsl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(string) ⇒ Parameter

Returns a new instance of Parameter.



58
59
60
# File 'lib/cloudformation-ruby-dsl/dsl.rb', line 58

def initialize string
  super string.to_s
end

Instance Attribute Details

#defaultObject

Returns the value of attribute default.



56
57
58
# File 'lib/cloudformation-ruby-dsl/dsl.rb', line 56

def default
  @default
end

#use_previous_valueObject

Returns the value of attribute use_previous_value.



56
57
58
# File 'lib/cloudformation-ruby-dsl/dsl.rb', line 56

def use_previous_value
  @use_previous_value
end