@@ and self in Ruby still confuses me. One area it seems the scope is fine but in another the variable crashes.
-
-
@wycats@kellabyte yeah, I haven't ever run into a time where it was needed... But maybe I'm doin' it wrong ;) -
@BrianHallDev@kellabyte it blurs "constant scoping" with variable scoping, which is asking for trouble. -
@BrianHallDev@kellabyte one of the few things about Ruby I'd change if I could start over. -
@wycats@BrianHallDev Maybe I could get a code review once I push this up :) I’m using Thor btw! -
@kellabyte@BrianHallDev sounds awesome :) -
@wycats@BrianHallDev How do I make it so when someone bundle installs my app an executable is installed? Include a shell script? -
@kellabyte@BrianHallDev just put it in bin and specify it in your gemspec
End of conversation
New conversation -
-
-
@wycats@kellabyte Agreed, stay far away. Why are you writing Ruby anyways? Rust is only 2 letters away...Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.