Simplified decode_signal()
Merge pull request #160 from Shougo/simplify-decode_signal

Simplify decode_signal()