Method: EDL::EffectMatcher#apply

Defined in:
lib/edl.rb

#apply(stack, line) ⇒ Object



201
202
203
204
# File 'lib/edl.rb', line 201

def apply(stack, line)
  stack[-1].transition.effect = line.scan(@regexp).flatten.pop.strip
  CommentMatcher.new.apply(stack, line)
end