bert icon indicating copy to clipboard operation
bert copied to clipboard

Libraries shouldn't add methods in the global namespace (namely 't')

Open woahdae opened this issue 13 years ago • 1 comments

I encounter this a lot within the ruby community, but this time it actually affects me. defining Object.t conflicts with rails' translate. t should at least be in a module, with a supported way to require bert without defining t.

I'll make a branch, but it'll just be a find/replace of t[ with BERT::Tuple[, so not worth a pull request.

woahdae avatar Jul 22 '10 02:07 woahdae

I couldn't resist making my changes more generic, so I made a backwords-compatible version here, although it's still a find/replace at it's heart

woahdae avatar Jul 22 '10 02:07 woahdae