Module: FuzzyInfer::ActiveRecordClassMethods
- Defined in:
- lib/fuzzy_infer/active_record_class_methods.rb
Instance Method Summary collapse
-
#fuzzy_infer(options = {}) ⇒ Object
Configure fuzzy inferences see test/helper.rb for an example.
Instance Method Details
#fuzzy_infer(options = {}) ⇒ Object
Configure fuzzy inferences see test/helper.rb for an example
7 8 9 10 11 |
# File 'lib/fuzzy_infer/active_record_class_methods.rb', line 7 def fuzzy_infer( = {}) = ::Hashie::Mash.new Registry.instance[name] ||= {} Registry.instance[name][.target] = end |