Module: Enumerize
- Defined in:
- lib/enumerize.rb,
lib/enumerize/set.rb,
lib/enumerize/base.rb,
lib/enumerize/utils.rb,
lib/enumerize/value.rb,
lib/enumerize/module.rb,
lib/enumerize/sequel.rb,
lib/enumerize/mongoid.rb,
lib/enumerize/version.rb,
lib/enumerize/attribute.rb,
lib/enumerize/predicates.rb,
lib/enumerize/activemodel.rb,
lib/enumerize/activerecord.rb,
lib/enumerize/predicatable.rb,
lib/enumerize/scope/sequel.rb,
lib/enumerize/attribute_map.rb,
lib/enumerize/scope/mongoid.rb,
lib/enumerize/hooks/formtastic.rb,
lib/enumerize/hooks/uniqueness.rb,
lib/enumerize/hooks/simple_form.rb,
lib/enumerize/module_attributes.rb,
lib/enumerize/integrations/rspec.rb,
lib/enumerize/scope/activerecord.rb,
lib/enumerize/hooks/sequel_dataset.rb,
lib/enumerize/integrations/rails_admin.rb,
lib/enumerize/integrations/rspec/matcher.rb
Defined Under Namespace
Modules: ActiveModelAttributesSupport, ActiveRecordSupport, Base, Hooks, Integrations, ModuleAttributes, MongoidSupport, Multiple, Predicatable, Predicates, Scope, SequelSupport, Utils
Classes: Attribute, AttributeMap, Module, Set, Value
Constant Summary
collapse
- VERSION =
'2.8.0'
Class Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
30
31
32
33
|
# File 'lib/enumerize.rb', line 30
def self.included(base)
ActiveSupport::Deprecation.warn '`include Enumerize` was deprecated. Please use `extend Enumerize`.', caller
extended(base)
end
|