Module: MongoHashie
- Included in:
- Base
- Defined in:
- lib/mongo-hashie/base.rb,
lib/mongo-hashie/rails.rb,
lib/mongo-hashie/version.rb,
lib/mongo-hashie/meta_data.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, MetaData, Rails Classes: Base, Configuration, MetaDataProperties
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/mongo-hashie/base.rb', line 2 def self.included(base) base.class_eval do extend ClassMethods extend Rails extend MetaData::ClassMethods include Mongo include InstanceMethods include MetaData::InstanceMethods end end |