Class: Uttk::Strategies::Strategy::CommandMatcher

Inherits:
UM::UnifiedMatcher
  • Object
show all
Defined in:
lib/uttk/strategies/Strategy.rb

Instance Method Summary collapse

Instance Method Details

#[](matcher, ref, my, name = nil) ⇒ Object



529
530
531
532
533
# File 'lib/uttk/strategies/Strategy.rb', line 529

def [] matcher, ref, my, name=nil
  matcher = matcher.new if matcher.is_a? Class
  self.stream_matcher = matcher
  super(ref, my, name)
end