support Ruby extensions: %- %_ and %0 (closes #18)