Re: passing ARGV to class methods

2012-07-04 Thread Robert Klemme
On Wed, Jul 4, 2012 at 2:13 AM, Neubyr Neubyr wrote: > Jan E. wrote in post #1067264: >> You don't have to pass the ARGV to the initialize method, but I'd do it >> anyway, because it shows that the class uses the command line options. >> It simply makes the code clearer. Definitively. BUT: I wou

Re: Splitting assets in two and what to call them?

2012-07-04 Thread Robert Klemme
On Wed, Jul 4, 2012 at 6:15 PM, Intransition wrote: > A draft blog post I just wrote: > > https://github.com/trans/trans.github.com/wiki/2012-07-04-crossing-the-assets-divide > > In short, I need to split assets between design and content assets, and I am > trying to figure out good names for the

Splitting assets in two and what to call them?

2012-07-04 Thread Intransition
A draft blog post I just wrote: https://github.com/trans/trans.github.com/wiki/2012-07-04-crossing-the-assets-divide In short, I need to split assets between design and content assets, and I am trying to figure out good names for the two directories. Any suggestions? -- You received this messag

Re: Using binding + set trace func to capture execution state

2012-07-04 Thread Robert Klemme
On Wed, Jul 4, 2012 at 9:57 AM, Bartosz DziewoƄski wrote: > You can use the `local_variables` method to get a list of local > variables in current scope. So maybe something like this: > > $values_at_time = {} > > set_trace_func proc { |event, file, line, id, binding, classname| > if event