Class: Coral::Template::JSON

Inherits:
Base show all
Defined in:
lib/coral_core/template/json.rb,
lib/coral_core/template/yaml.rb

Instance Method Summary collapse

Methods inherited from Base

#intialize

Methods inherited from Config

#[], #[]=, array, #array, #clear, #defaults, #delete, ensure, #export, #filter, filter, #get, #get_array, #get_hash, #hash, hash, #import, init, #init, init_flat, #initialize, #set, #string, string, string_map, #string_map, #symbol, symbol, symbol_map, #symbol_map, test, #test

Methods included from Mixin::ConfigOptions

#clear_options, #contexts, #get_options, #set_options

Methods included from Mixin::ConfigCollection

#all_properties, #clear_properties, #delete_property, #get_property, #save_properties, #set_property

Methods included from Mixin::Lookup

#hiera, #hiera_config, #initialized?, #lookup, #lookup_array, #lookup_hash, #normalize

Methods included from Mixin::ConfigOps

#parse

Constructor Details

This class inherits a constructor from Coral::Config

Instance Method Details

#render(input) ⇒ Object


Renderers



8
9
10
# File 'lib/coral_core/template/json.rb', line 8

def render(input)
  return Util::Data.to_json(input)    
end