Method: Fdoc::MetaServicePresenter#relative_service_path
- Defined in:
- lib/fdoc/presenters/meta_service_presenter.rb
#relative_service_path(service_presenter, file_name = nil) ⇒ Object
60 61 62 63 64 65 66 |
# File 'lib/fdoc/presenters/meta_service_presenter.rb', line 60 def relative_service_path(service_presenter, file_name = nil) service_path = service_presenter.slug_name if file_name service_path = File.join(service_path, file_name) end service_path end |