Tussle of the State Machines

There’s no shortage of Ruby state machine libraries (assm, state_machine, etc.). However when we needed to implement dynamic state machine we didn’t find one. The Problem We needed a polymorphic class that could have different state machines triggered in it depending on some condition. Basically, here is what we wanted to achieve: Now the problemContinue reading “Tussle of the State Machines”

PDF to Plain Text processing using docsplit

As Rubyists, don’t we just love searching for gems to do our work for us 🙂 But, that does not always work, does it? There are times when we don’t find solution and need to fix it ourselves. Do we remember to contribute back to the community? Here’s a similar story and some information aboutContinue reading “PDF to Plain Text processing using docsplit”