@@ and self in Ruby still confuses me. One area it seems the scope is fine but in another the variable crashes.
-
-
Replying to @kellabyte
@kellabyte @@ is a misfeature imo. Keep awaaaaay.2 replies 0 retweets 6 likes -
Replying to @wycats
@wycats@kellabyte yeah, I haven't ever run into a time where it was needed... But maybe I'm doin' it wrong ;)1 reply 0 retweets 0 likes -
Replying to @BrianHallDev
@BrianHallDev@kellabyte it blurs "constant scoping" with variable scoping, which is asking for trouble.1 reply 0 retweets 0 likes -
Replying to @wycats
@BrianHallDev@kellabyte one of the few things about Ruby I'd change if I could start over.1 reply 0 retweets 0 likes -
Replying to @wycats
@wycats@BrianHallDev Maybe I could get a code review once I push this up :) I’m using Thor btw!1 reply 0 retweets 0 likes -
-
Replying to @wycats
@wycats@BrianHallDev How do I make it so when someone bundle installs my app an executable is installed? Include a shell script?1 reply 0 retweets 0 likes
@kellabyte @BrianHallDev just put it in bin and specify it in your gemspec
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.