Sha256: 4fd9c595d7b498527eaf90cb76fbf3bc5327eb97a4f771a8e1c5e172e8688114

Contents?: true

Size: 813 Bytes

Versions: 1

Compression:

Stored size: 813 Bytes

Contents

:ruby
  all_dependencies = local_assigns.fetch(:all_dependencies)
  current_document = local_assigns.fetch(:current_document)
  dependencies = local_assigns.fetch(:dependencies)

.dependencies-container
- if dependencies.present?
  .js-dependencies
    - dependencies.each do |contract_def, dep|
      = render 'apress/documentation/presenters/dependency_presenter/links',
               dependency: dep,
               contract_def: contract_def,
               current_document: current_document

- if all_dependencies.present?
  .js-all-dependencies.hidden
    - all_dependencies.each do |contract_def, dep|
      = render 'apress/documentation/presenters/dependency_presenter/links',
               dependency: dep,
               contract_def: contract_def,
               current_document: current_document

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apress-documentation-0.4.0 app/views/apress/documentation/presenters/dependency_presenter/_dependencies.html.haml