Class: Hyrax::IiifManifestPresenter::NullAbility
- Inherits:
-
Object
- Object
- Hyrax::IiifManifestPresenter::NullAbility
- Defined in:
- app/presenters/hyrax/iiif_manifest_presenter.rb
Overview
An Ability-like object that gives ‘true` for all `can?` requests
Instance Method Summary collapse
-
#can? ⇒ Boolean
True.
Instance Method Details
#can? ⇒ Boolean
Returns true.
158 159 160 |
# File 'app/presenters/hyrax/iiif_manifest_presenter.rb', line 158 def can?(*) true end |