class Noaidi::Matchmaker::Parser

Public Instance Methods

call(*args, &block) click to toggle source
# File lib/noaidi/matchmaker.rb, line 47
def call(*args, &block)
  @branches ||= {}
  key = args.map{ |i| Noaidi::Matcher.new(i) }
  @branches[key] = block
  @branches
end