app/models/site.rb
# Returns a hash with all released SReg properties. SReg properties
# have a type_identifier matching their property name
Returns a hash with all released SReg properties. SReg properties
have a type_identifier matching their property name
Returns a hash with all released SReg properties . SReg properties have a type_identifier matching their property name
def sreg_properties
    props = {}
    release_policies.each do |rp|
      is_sreg = (rp.property == rp.type_identifier)
      props[rp.property] = persona.property(rp.property) if is_sreg
    end
    props
  end
def sreg_properties props = { } release_policies . each do | rp | is_sreg = ( rp . property == rp . type_identifier ) props [ rp . property ] = persona . property ( rp . property ) if is_sreg end props end
Returns a hash with all released SReg properties.
Returns a hash with all released SReg properties .