Refer: https://github.com/symengine/symengine.rb/pull/56#discussion_r69882808
Refer: #56 (comment)