module Mixture::Extensions::Attributable

Has the mixture have attributes.

Public Class Methods

included(base) click to toggle source

Called by Ruby when the module is included. This just extends the base by the {ClassMethods} module and includes into the base the {InstanceMethods} module.

@param base [Object] @return [void] @api private

# File lib/mixture/extensions/attributable.rb, line 115
def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
end