search for: easyish

Displaying 2 results from an estimated 2 matches for "easyish".

2010 Apr 14
1
Ring Two Extensions Simultaneously with different caller ID values?
...conference room, and kitchen phones and present the caller ID as "John Smith" in her office, but "1234>John Smith" or something similar on the common area phones. Regardless of the advisability of implementing this in real life, does this question make sense and is there an easyish way to implement this? TIA for any pointers - and please keep in mind that I'm still a relative newbie for both Linux and Asterisk. Lincoln -- Lincoln King-Cliby, CTS Applications Engineer ControlWorks Consulting, LLC V: 440.449.1100 x1107 F: 440.449.1106 I:http://www.controlworks.com Cre...
2007 Mar 06
15
mocking missing methods
Hi folks. So I''m using mocha on a ruby project, and I really like it. One thing I''ve noticed is that it can be a bit "surprising" when I''m mocking methods that don''t exist on an object, and I think there''s an easyish fix. At the moment, you use sheep = mock() to create a mock sheep. What I''d like to do is something like sheep = mock(Sheep), so the mock is typed. It''s still duck-typed because the Sheep class is open, so I can set expectations on it like this: sheep.expects(:chew).with('...