Modified ruby-tricks