lib/fear/extractor/matcher.rb in fear-1.1.0 vs lib/fear/extractor/matcher.rb in fear-1.2.0
- old
+ new
@@ -6,12 +6,9 @@
module Extractor
# @abstract abstract matcher to inherit from.
class Matcher < OpenStruct
autoload :And, "fear/extractor/matcher/and"
- EMPTY_HASH = {}.freeze
- EMPTY_ARRAY = [].freeze
-
# @param node [Fear::Extractor::Grammar::Node]
def initialize(node:, **attributes)
@input = node.input
@input_position = node.interval.first
super(attributes)