Class: Coral::Template::Wrapper
- Defined in:
- lib/coral_core/template/wrapper.rb
Instance Method Summary collapse
-
#render(input) ⇒ Object
—————————————————————————– Renderers.
Methods inherited from Base
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
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/wrapper.rb', line 8 def render(input) return get(:template_prefix, '') + input.to_s + get(:template_suffix, '') end |