Class: Middleman::ProtectEmailsExtension
- Inherits:
-
Extension
- Object
- Extension
- Middleman::ProtectEmailsExtension
- Defined in:
- lib/middleman-protect-emails/extension.rb
Defined Under Namespace
Classes: Middleware
Instance Method Summary collapse
- #after_configuration ⇒ Object
-
#initialize(app, options_hash = {}, &block) ⇒ ProtectEmailsExtension
constructor
A new instance of ProtectEmailsExtension.
Constructor Details
#initialize(app, options_hash = {}, &block) ⇒ ProtectEmailsExtension
Returns a new instance of ProtectEmailsExtension.
5 6 7 |
# File 'lib/middleman-protect-emails/extension.rb', line 5 def initialize(app, ={}, &block) super end |
Instance Method Details
#after_configuration ⇒ Object
9 10 11 |
# File 'lib/middleman-protect-emails/extension.rb', line 9 def after_configuration app.use Middleware, middleman_app: app end |