Class: Middleman::Renderers::ERb

Inherits:
Extension show all
Defined in:
lib/middleman-core/renderers/erb.rb

Defined Under Namespace

Classes: Template

Constant Summary

Constants included from Contracts

Contracts::PATH_MATCHER

Instance Attribute Summary

Attributes inherited from Extension

#app, #options

Instance Method Summary collapse

Methods inherited from Extension

activated_extension, #add_exposed_to_context, #after_build, after_extension_activated, #after_extension_activated, #before_build, #before_configuration, clear_after_extension_callbacks, config, define_setting, expose_to_application, expose_to_config, expose_to_template, global_config, helpers, #initialize, #manipulate_resource_list, option, #ready, resources

Methods included from Contracts

#Contract

Constructor Details

This class inherits a constructor from Middleman::Extension

Instance Method Details

#after_configurationObject



5
6
7
# File 'lib/middleman-core/renderers/erb.rb', line 5

def after_configuration
  ::Tilt.prefer(Template, :erb)
end