Sha256: 0f49152f9b9d45425e47f8c87ff6f0392b6bafcec5c454dfdec38ffb739b4a06

Contents?: true

Size: 575 Bytes

Versions: 16

Compression:

Stored size: 575 Bytes

Contents

# Global variables to adjust CfnDsl behavior
module CfnDsl
  module_function

  def disable_binding
    @disable_binding = true
  end

  def disable_binding?
    @disable_binding
  end

  def disable_deep_merge
    @disable_deep_merge = true
  end

  def disable_deep_merge?
    @disable_deep_merge
  end

  def specification_file(file = nil)
    @specification_file = file if file
    @specification_file ||= File.join(ENV['HOME'], '.cfndsl/resource_specification.json')
    @specification_file
  end

  def reserved_items
    %w[Resource Parameter Output].freeze
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
cfndsl-0.16.13 lib/cfndsl/globals.rb
cfndsl-0.16.12 lib/cfndsl/globals.rb
cfndsl-0.16.11 lib/cfndsl/globals.rb
cfndsl-0.16.10 lib/cfndsl/globals.rb
cfndsl-0.16.9 lib/cfndsl/globals.rb
cfndsl-0.16.8 lib/cfndsl/globals.rb
cfndsl-0.16.7 lib/cfndsl/globals.rb
cfndsl-0.16.6 lib/cfndsl/globals.rb
cfndsl-0.16.5 lib/cfndsl/globals.rb
cfndsl-0.16.3 lib/cfndsl/globals.rb
cfndsl-0.16.2 lib/cfndsl/globals.rb
cfndsl-0.16.1 lib/cfndsl/globals.rb
cfndsl-0.15.3 lib/cfndsl/globals.rb
cfndsl-0.15.2 lib/cfndsl/globals.rb
cfndsl-0.15.1 lib/cfndsl/globals.rb
cfndsl-0.15.0 lib/cfndsl/globals.rb