Method: SectionRenderer#service_type_values

Defined in:
app/presentation/section_renderer.rb

#service_type_valuesObject

Returns all ServiceTypeValue objects contained in this section, as configured. Lazy caches result for perfomance.



278
279
280
281
282
283
# File 'app/presentation/section_renderer.rb', line 278

def service_type_values
  @service_type_values ||=
  @options[:service_type_values].collect do |s|
    s.kind_of?(ServiceTypeValue)? s : ServiceTypeValue[s]
  end    
end