Bump version to 0.3.0.beta18
Use more ideomatic ruby

Thx dkubb!