Method: Properties#initialize
- Defined in:
- lib/tungsten/properties.rb
#initialize ⇒ Properties
Initialize with some base values.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/tungsten/properties.rb', line 14 def initialize @props = {} # These hashes are used to prevent loops where the prompt handler needs # to get additional information from the configuration @in_prompt_handler = {} @in_template_value_prompt_handler = {} # The prompt handler provides a structuring for finding values # that do no exist in the props Hash. The prompt handler will calculate # default values or values based on parent defaults. @use_prompt_handler = false @prompt_handler = nil # This is used for translating the configuration from 1.3 deployments @force_json = true end |