Module: RailsDictionary::ActsAsDictType
- Defined in:
- lib/rails_dictionary/acts_as_dict_type.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 |
# File 'lib/rails_dictionary/acts_as_dict_type.rb', line 3 def self.included(base) base.extend(ClassMethods) base.mattr_accessor :whole_types end |
Instance Method Details
#delete_all_caches ⇒ Object
47 48 49 50 |
# File 'lib/rails_dictionary/acts_as_dict_type.rb', line 47 def delete_all_caches self.whole_types = nil return true end |