Module: Hanami::Action::Exposable::Guard 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.
Guard for Exposures API. Prevents exposure of reserved words
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Override Ruby’s hook for modules.
Class Method Details
.included(base) ⇒ Object
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.
Override Ruby’s hook for modules. It prepends a guard for the exposures logic
32 33 34 35 36 |
# File 'lib/hanami/action/exposable/guard.rb', line 32 def self.included(base) class << base prepend ClassMethods end end |