class Matchd::Rule::Invalid
Placeholder class for marking keeping invalid Rules around for later inspection. It overwrited the entire public interface of {Matchd::Rule} to no-operations
Attributes
raw[R]
Public Class Methods
new(options)
click to toggle source
# File lib/matchd/rule/invalid.rb, line 5 def initialize(options) @raw = options end
Public Instance Methods
call(*)
click to toggle source
Noop @return [FalseClass] Always returns `false` indecating that processing
shall not stop.
# File lib/matchd/rule/invalid.rb, line 23 def call(*); false end
matches?(*)
click to toggle source
Noop @return [FalseClass] Always returns `false` indecating that this rule
shall not be executed.
# File lib/matchd/rule/invalid.rb, line 18 def matches?(*); false end
visit(*)
click to toggle source
Noop @return [FalseClass] Always returns `false` indecating that processing
shall not stop.
# File lib/matchd/rule/invalid.rb, line 13 def visit(*); false end