Method: Funkr::Matchers::SafeMatcher#initialize
- Defined in:
- lib/funkr/adt/matcher.rb
#initialize(match) ⇒ SafeMatcher
Returns a new instance of SafeMatcher.
8 9 10 11 12 |
# File 'lib/funkr/adt/matcher.rb', line 8 def initialize(match) @const, *@data = match @runner = nil @undefined = self.class.constructs.clone end |