Sha256: fe0ca3fcbdea740069cdf744f7795f65cd9700d2420abaa77504a8e8dccef593

Contents?: true

Size: 407 Bytes

Versions: 52

Compression:

Stored size: 407 Bytes

Contents

require 'cfndsl/JSONable'

module CfnDsl  
  class PropertyDefinition < JSONable
    ##
    # Handles property objects for Resources
    #
    # Usage
    #   Resource("aaa") {
    #     Property("propName", "propValue" )
    #   }
    #
    def initialize(value) 
      @value = value;
    end

    def value
      return @value
    end
    
    def to_json(*a) 
      @value.to_json(*a)
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
cfndsl-0.4.4 lib/cfndsl/Properties.rb
cfndsl-0.4.3 lib/cfndsl/Properties.rb
cfndsl-0.4.2 lib/cfndsl/Properties.rb
cfndsl-0.4.1 lib/cfndsl/Properties.rb
cfndsl-0.4.0 lib/cfndsl/Properties.rb
cfndsl-0.3.6 lib/cfndsl/Properties.rb
cfndsl-0.3.5 lib/cfndsl/Properties.rb
cfndsl-0.3.4 lib/cfndsl/Properties.rb
cfndsl-0.3.3 lib/cfndsl/Properties.rb
cfndsl-0.3.2 lib/cfndsl/Properties.rb
cfndsl-0.3.1 lib/cfndsl/Properties.rb
cfndsl-0.2.9 lib/cfndsl/Properties.rb
cfndsl-0.2.8 lib/cfndsl/Properties.rb
cfndsl-0.3.0 lib/cfndsl/Properties.rb
cfndsl-0.2.7 lib/cfndsl/Properties.rb
cfndsl-0.2.4 lib/cfndsl/Properties.rb
cfndsl-0.2.3 lib/cfndsl/Properties.rb
cfndsl-0.2.2 lib/cfndsl/Properties.rb
cfndsl-0.2.1 lib/cfndsl/Properties.rb
cfndsl-0.2.0 lib/cfndsl/Properties.rb