Method: ContextStruct#set_private

Defined in:
lib/thymeleaf/context/context_struct.rb

#set_private(private_var, value) ⇒ Object



29
30
31
32
# File 'lib/thymeleaf/context/context_struct.rb', line 29

def set_private(private_var, value)
  value = ContextStruct.new(value) if value.is_a? Hash
  send(:"\##{private_var}=", value)
end