adhearsion / adhearsion-asterisk

Asterisk specific features for Adhearsion
http://adhearsion.com
MIT License
17 stars 15 forks source link

[FEATURE] Add play_digits helper #3

Closed chewi closed 12 years ago

chewi commented 12 years ago

Hi Ben. Here is play_digits as promised. Specs added, all pass.

benlangfeld commented 12 years ago

I'm not sure we really need the type check here, or indeed in the method it was borrowed from. Can you remove them before I merge?

chewi commented 12 years ago

I take it you want the regexp check gone as well? Because 1234 =~ /^\d+$/ returns nil.

benlangfeld commented 12 years ago

Please :)

benlangfeld commented 12 years ago

Couple of doc fixes required and then I'll merge :)