Module: DuckMap::InheritableClassAttributes

Extended by:
ActiveSupport::Concern
Defined in:
lib/duck_map/attributes.rb

Overview

This module has a single purpose. To declare a class-level attribute using the Rails class_attribute method. Also, we are using ActiveSupport::Concern and the included block. This module is included in ActionController::Base, so, every controller object will have the attribute.

See Attributes::ClassMethods#sitemap_attributes for an explanation.