Yoda_language is a project mainly written in Ruby, it's free.
yoda_language rails helper
Write in your Gemfile
:
gem 'yoda_language', :git => 'git://github.com/kryzhovnik/yoda_language.git'
and run bundle install
Inside views(and helpers):
youda_language('Fear is the path to the dark side')
and you will get follow string:
"Side dark the to path the is fear"