core/rails/app/models/attrib.rb
# Return a deeply nested hash table built from the map with this attribute's
# data at the end.
Return a deeply nested hash table built from the map with this attribute's
data at the end.
Return a deeply nested hash table built from the map with this attribute ' s data at the end .
def template(value)
    keys = map.split('/')
    raise "Cannot deal with an empty map!" if keys.empty?
    res = value
    while !keys.empty? do
      res = {keys.pop => res}
    end
    res
  end
def template ( value ) keys = map . split ( '/' ) raise "Cannot deal with an empty map!" if keys . empty? res = value while ! keys . empty? do res = { keys . pop => res } end res end
Return a deeply nested hash table built from the map with this attribute's
data at the end.
Return a deeply nested hash table built from the map with this attribute ' s data at the end .
value
<not_specific>