Method: Fdoc::MetaService#services

Defined in:
lib/fdoc/meta_service.rb

#servicesObject



22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/fdoc/meta_service.rb', line 22

def services
  @schema['services'].map do |path|
    service_path = if path.start_with?('/') || path.start_with?('~')
      path
    else
      File.join(meta_service_dir, path)
    end
    serv = Fdoc::Service.new(service_path)
    serv.meta_service = self
    serv
  end
end