Module: Hanami::Action::Exposable::Guard::ClassMethods Private
- Defined in:
- lib/hanami/action/exposable/guard.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Exposures API Guard class methods
Instance Method Summary collapse
-
#expose(*names) ⇒ void
private
Prevents exposure if names contain a reserved word.
Instance Method Details
#expose(*names) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Prevents exposure if names contain a reserved word.
50 51 52 53 54 |
# File 'lib/hanami/action/exposable/guard.rb', line 50 def expose(*names) detect_reserved_words!(names) super end |