Module: Spree::Core::EnvironmentExtension Private
- Extended by:
- ActiveSupport::Concern
- Included in:
- Environment, Spree::Core::Environment::Calculators, Promo::Environment
- Defined in:
- lib/spree/core/environment_extension.rb
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.
Instance Method Summary collapse
- #add_class(name) ⇒ Object private
Instance Method Details
#add_class(name) ⇒ 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.
24 25 26 |
# File 'lib/spree/core/environment_extension.rb', line 24 def add_class(name) singleton_class.send(:add_class_set, name) end |