Class: Adhearsion::VoIP::CallRouting::RuleSet
- Defined in:
- lib/adhearsion/voip/call_routing.rb
Instance Method Summary collapse
Instance Method Details
#[](index) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/adhearsion/voip/call_routing.rb', line 15 def [](index) case index when String detect do |rule| rule.patterns.any? do |pattern| index =~ pattern end end else super end end |