Class: Unidom::Stapar::PatternMatching
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Unidom::Stapar::PatternMatching
- Includes:
- ProgneTapera::EnumCode, Common::Concerns::ModelExtension
- Defined in:
- app/models/unidom/stapar/pattern_matching.rb
Class Method Summary collapse
Class Method Details
.match!(input, matched: nil, with: 0.0, above: 0, at: Time.now) ⇒ Object
21 22 23 |
# File 'app/models/unidom/stapar/pattern_matching.rb', line 21 def self.match!(input, matched: nil, with: 0.0, above: 0, at: Time.now) create! matched: matched, input: input, valve_percentage: above, similarity_percentage: with, opened_at: at end |