Class: Hyrax::Forms::CollectionForm::ProxyScope
- Inherits:
-
Struct
- Object
- Struct
- Hyrax::Forms::CollectionForm::ProxyScope
- Defined in:
- app/forms/hyrax/forms/collection_form.rb
Instance Attribute Summary collapse
-
#blacklight_config ⇒ Object
Returns the value of attribute blacklight_config.
-
#current_ability ⇒ Object
Returns the value of attribute current_ability.
-
#repository ⇒ Object
Returns the value of attribute repository.
Instance Method Summary collapse
Instance Attribute Details
#blacklight_config ⇒ Object
Returns the value of attribute blacklight_config
32 33 34 |
# File 'app/forms/hyrax/forms/collection_form.rb', line 32 def blacklight_config @blacklight_config end |
#current_ability ⇒ Object
Returns the value of attribute current_ability
32 33 34 |
# File 'app/forms/hyrax/forms/collection_form.rb', line 32 def current_ability @current_ability end |
#repository ⇒ Object
Returns the value of attribute repository
32 33 34 |
# File 'app/forms/hyrax/forms/collection_form.rb', line 32 def repository @repository end |
Instance Method Details
#can?(*args) ⇒ Boolean
33 34 35 |
# File 'app/forms/hyrax/forms/collection_form.rb', line 33 def can?(*args) current_ability.can?(*args) end |