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

Open
woahdae opened this Issue Jul 22, 2010 · 1 comment

Comments

Projects
None yet
1 participant
@woahdae

woahdae commented Jul 22, 2010

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

This comment has been minimized.

Show comment Hide comment
@woahdae

woahdae Jul 22, 2010

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 commented Jul 22, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment