Module: Montrose::Rule::ClassMethods

Defined in:
lib/montrose/rule.rb

Instance Method Summary collapse

Instance Method Details

#apply_option(_opts) ⇒ Object


22
23
24
# File 'lib/montrose/rule.rb', line 22

def apply_option(_opts)
  nil
end

#apply_options?(opts) ⇒ Boolean


26
27
28
# File 'lib/montrose/rule.rb', line 26

def apply_options?(opts)
  apply_options(opts)
end

#from_options(opts) ⇒ Object


30
31
32
# File 'lib/montrose/rule.rb', line 30

def from_options(opts)
  new(apply_options(opts)) if apply_options?(opts)
end