<Ox0dea>
womble: You've discovered that blocks and Procs are not equivalent.
palar has joined #ruby-lang
<womble>
Ox0dea: I shall write a paper on this amazing discovery!
<Ox0dea>
womble: I should perhaps have clarified that it is not an original one.
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<womble>
Ox0dea: More seriously, given that there *are* circumstances in which you can pass a proc in as a block (eg `def foo; block_given?; end; foo(&->{}) # => true`), do you happen to know exactly what's going on with my examples, and how I could make them more proc-block-friendly?
* womble
refrains from making a "proc-blocking" joke
palar has quit [Ping timeout: 258 seconds]
j4cknewt has joined #ruby-lang
A124 has quit [Remote host closed the connection]
Ox0dea has quit [Ping timeout: 255 seconds]
<heftig>
womble: because you're passing a block into a proc, not a method
<heftig>
a proc is not a "new context" as far as "yield" and "block_given?" are concerned
<womble>
heftig: Oooooh... so yield (and hence block_given?) will trigger on the surrounding method's given block. *That* makes sense. Thanks.
<heftig>
else you could not create a generator like def each; @foo.each { |x| yield x }; end
<heftig>
womble: yep
Forgetful_Lion has quit [Read error: Connection reset by peer]
<Ox0dea>
That is, what's "special" about Method#to_proc that this returns true?
djbkd has quit [Quit: My people need me...]
<womble>
Oooooh... interesting.
CaptainCibai has quit [Ping timeout: 272 seconds]
CaptainCibai has joined #ruby-lang
<Ox0dea>
I did a shallow dive into eval.c and vm.c to see what block_given? does under the hood, but I bumped into control frames and came back up for air.
<Ox0dea>
I guess the method having been actually defined sets up the necessary plumbing.
<womble>
It must be a superproc.
<womble>
Able to leap tall stackframes in a single bound.
<womble>
Faster than a speeding compiler
<womble>
More powerful than a bitcoin mining rig
<womble>
It's only weakness: Klojureite
* womble
gets his coat
Forgetful_Lion has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 258 seconds]
skade has quit [Quit: Computer has gone to sleep.]
revath has joined #ruby-lang
revath1 has quit [Ping timeout: 256 seconds]
revath1 has joined #ruby-lang
A124 has joined #ruby-lang
revath has quit [Ping timeout: 276 seconds]
aaeron has quit [Ping timeout: 265 seconds]
|jemc| has quit [Ping timeout: 258 seconds]
fujimura has quit [Remote host closed the connection]
ubernil has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
ubernil has joined #ruby-lang
fujimura has joined #ruby-lang
deg has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby-lang
deg has joined #ruby-lang
jas02 has joined #ruby-lang
stan has joined #ruby-lang
chouhoulis has quit [Ping timeout: 256 seconds]
jas02 has quit [Quit: jas02]
Forgetful_Lion has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
djellemah has joined #ruby-lang
slumos is now known as slumos[away]
kerunaru has joined #ruby-lang
jas02 has joined #ruby-lang
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby-lang
chinmay_dd has joined #ruby-lang
j0n3 has quit [Read error: Connection reset by peer]
amclain has quit [Quit: Leaving]
chinmay_dd has quit []
palar has joined #ruby-lang
houhoulis has joined #ruby-lang
palar has quit [Ping timeout: 276 seconds]
lele has joined #ruby-lang
lele is now known as Guest24
solars has joined #ruby-lang
VinnyBoy has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
elia has joined #ruby-lang
nedp has quit [Remote host closed the connection]
Pathfinder has joined #ruby-lang
fujimura has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Iskarlar has joined #ruby-lang
drefined has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ledestin has joined #ruby-lang
datanoise has quit [Ping timeout: 256 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
caseypatrickdris has quit [Ping timeout: 252 seconds]
araujo has quit [Quit: Leaving]
revath has quit [Ping timeout: 245 seconds]
revath has joined #ruby-lang
AlexAltea has quit [Ping timeout: 244 seconds]
Miphix has joined #ruby-lang
bruno- has joined #ruby-lang
jas02 has joined #ruby-lang
ubernil has quit [Quit: leaving]
<ljarvis>
any ideas for x.split() where the resulting array is guarenteed to return a fixed amount of elements? (padded by []); can hack around with Array.new(2, []) or Array#fill and result.tap {|r| r[1] ||= [] } but I don't like any of them
<apeiros>
IME Array#fill just never provided what I wanted. I want something like Array#pad
<ljarvis>
yep
<apeiros>
or #ljust/#rjust
<ljarvis>
that's exactly what I want but adding it myself is not what I want :(
<apeiros>
I think I usually settled for two lines
<apeiros>
i.e. result = expression; result.concat(Array.new(size-result.size, default)); rsult
<apeiros>
*result
<ljarvis>
heh
<apeiros>
with Refinements I'd probably just implement #rjust/#ljust
sepp2k has joined #ruby-lang
bruno- has quit [Quit: Lost terminal]
bruno- has joined #ruby-lang
elev has joined #ruby-lang
<elev>
someone here who are good with ruby files?
elev has left #ruby-lang [#ruby-lang]
<apeiros>
any reason I should not ban elev?
<maloik>
at least this time he didn't ask about keyloggers
<maloik>
:D
<maloik>
(yet)
<apeiros>
yeah
<maloik>
s/he/they
<apeiros>
progress? yay?
<tobiasvl>
wuat tue
<apeiros>
¿que?
bruno- has quit [Quit: Lost terminal]
AlexAltea has joined #ruby-lang
chinmay_dd has joined #ruby-lang
<tobiasvl>
*what the
<tobiasvl>
one finger was vertically misaligned
<apeiros>
heh. but I still don't know the question :-p
<apeiros>
why I banned elev?
<tobiasvl>
yes, hehe
caseypatrickdris has joined #ruby-lang
<tobiasvl>
maybe I'm having a stroke
<apeiros>
they joined #ruby a couple of times the last few days, asking a question and leaving immediately afterwards
<apeiros>
they've been told to stop that
<apeiros>
i.e. got a fair warning. and now patience is up.
<womble>
Poor elev... so clue deficient.
<apeiros>
is that the politically correct term nowadays?
bruno- has joined #ruby-lang
* jhass
wonders if apeiros realizes he's in #ruby-lang :P
<apeiros>
I do. why?
<jhass>
##ruby-banned, "joined #ruby ...", just a couple of seeds for my doubts ;)
caseypatrickdris has quit [Ping timeout: 264 seconds]
<apeiros>
ah, the joined #ruby was a mistake
<apeiros>
the ##ruby-banned was not. I don't intend to register a ##ruby-lang-banned :)
<jhass>
I should change the ban over in #ruby to that too, wonder if they still attempt
Ox0dea has quit [Ping timeout: 252 seconds]
<apeiros>
yeah, why not
tomaz_b has joined #ruby-lang
<apeiros>
feel free to convert the bans
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
AugustoCesar has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
dhjondoh has quit [Quit: dhjondoh]
chinmay_dd has quit []
ldnunes has joined #ruby-lang
charliesome has quit [Quit: zzz]
stardiviner has joined #ruby-lang
datanoise has joined #ruby-lang
joaomdmoura has joined #ruby-lang
palar has quit [Ping timeout: 264 seconds]
<chris2>
finally, the unification of ##ruby and #ruby-lang... in ##ruby-banned :D
<apeiros>
#ruby
<apeiros>
##ruby is cek's abomination
<chris2>
(sheesh)
* chris2
opens ###ruby
<jhass>
we should hang out there just to annoy him
<jhass>
especially you apeiros :P
<chris2>
wow, #ruby got huge
<apeiros>
I try to ignore cek
<apeiros>
that's one of those rare people who actually manage to get my pulse high.
<chris2>
topic of ##ruby is priceless
<apeiros>
chris2: do you know cek? if not, the topic is even better if you'd know him…
<maloik>
whatever happened to the newbie channel?
charliesome has joined #ruby-lang
<chris2>
cant remember the nick
<maloik>
I forgot the name, I'd pop in otherwise
datanoise has quit [Ping timeout: 256 seconds]
<jhass>
##new2ruby
<maloik>
right!
<jhass>
I left it, it's mostly 3 guys being offtopic
<jhass>
more newbies in #ruby than over there
<jhass>
more newbies here in fact
<maloik>
it's simply too hard to find I bet
<maloik>
this is really the only channel I chat in from time to time
<maloik>
ruby is too big, ror is *shrug*, rest I should probably leave :D
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
joaomdmoura has quit [Ping timeout: 265 seconds]
dagda1 has joined #ruby-lang
tkuchiki has quit [Ping timeout: 252 seconds]
leat has quit [Ping timeout: 264 seconds]
<chris2>
hehe
leat has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
tomaz_b has quit [Quit: Leaving]
fujimura has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
shazaum has joined #ruby-lang
banister has joined #ruby-lang
reprazent has joined #ruby-lang
sandelius has joined #ruby-lang
sankaber has joined #ruby-lang
leat has quit [Remote host closed the connection]
leat has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
palar has joined #ruby-lang
bruno- has quit [Ping timeout: 252 seconds]
tomaz_b has joined #ruby-lang
alestuber has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caseypatrickdris has quit [Ping timeout: 272 seconds]
hahuang65 has quit [Ping timeout: 272 seconds]
kr3ssh has quit [Ping timeout: 256 seconds]
<darix>
we should just alias all channels to #ruby-lang
<darix>
might help to break the 1000 mark
znz_jp has quit [Quit: kill -QUIT $$]
ryba has quit [Ping timeout: 246 seconds]
k3asd` has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby-lang
znz_jp has joined #ruby-lang
<jhass>
well, as it stands we have the more active op team in #ruby atm
marr has joined #ruby-lang
<apeiros>
and more users
<apeiros>
jhass: whatever came from your PR? I assume nothing happened since the last comment?
<jhass>
yup, you assume right
<apeiros>
#assumptorintraining
<jhass>
drbrain continues to ignore it :P
<darix>
apeiros: well if we merge channels we can also merge op teams
<apeiros>
it might just be the timezones, but apart from zenspider, I haven't seen any of the ops/founders actively participating in #ruby-lang anymore
<darix>
synergies!
dhjondoh has joined #ruby-lang
<darix>
well the #ruby-lang founders can also decide to make #ruby-lang forward to #ruby
<darix>
it is one query to a staffer and it is done :p
<womble>
I like this channel better. I can be a total dick in here, because it doesn't have "Please be nice" in the /topic.
<maloik>
:D
mikecmpbll has joined #ruby-lang
<yorickpeterse>
14:33: not written a single line of code yet
<yorickpeterse>
just planning, meetings and messing with Confluence
chouhoulis has joined #ruby-lang
<maloik>
you went confluence after all?
<yorickpeterse>
Most likely
<maloik>
it's not entirely terrible, right?
dhjondoh has quit [Remote host closed the connection]
<yorickpeterse>
it's pretty enterprisey
<yorickpeterse>
but it's the least crap so far
<maloik>
I think you'll never find a perfect solution
<karma_>
least crap is always my main goal
<maloik>
unless you write it yourself, but then we're probably talking the year 2018 by the time it works like everyone wants it to :D
skade has quit [Quit: Computer has gone to sleep.]
leat has joined #ruby-lang
slawrence00 has joined #ruby-lang
araujo has joined #ruby-lang
araujo has joined #ruby-lang
malconis has joined #ruby-lang
araujo has quit [Max SendQ exceeded]
sgambino has joined #ruby-lang
AlexAltea has quit [Ping timeout: 244 seconds]
tkuchiki has joined #ruby-lang
gambl0re has quit [Ping timeout: 272 seconds]
Ropeney has joined #ruby-lang
yfeldblum has joined #ruby-lang
alestuber has joined #ruby-lang
leat has quit [Remote host closed the connection]
leat has joined #ruby-lang
ryba has joined #ruby-lang
imperator has joined #ruby-lang
skade has joined #ruby-lang
AlexAltea has joined #ruby-lang
ruby-lang826 has joined #ruby-lang
k3asd` has joined #ruby-lang
chinmay_dd has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
[k- has joined #ruby-lang
chouhoulis has joined #ruby-lang
ruby-lang826 has quit [Client Quit]
mtk_ has joined #ruby-lang
ArchRogem has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mtk_>
Hey, I'm an amateur in Ruby - could you please tell me if I can write this code snippet in more elegant way http://pastebin.com/pitTuDej
<mtk_>
?
bruno- has joined #ruby-lang
chinmay_dd has quit [Remote host closed the connection]
palar has quit [Ping timeout: 264 seconds]
<maloik>
could you include what a is? other bits of feedback for now: gist is prettier and more readable than pastebin (arguably faster), you should give your variables a better name so you understand your code more easily
<mtk_>
With some names I'm a bit restricted with library I'm using
<mtk_>
basically for each delta in a git diff I try to find whether changed filename matches 'migrations' word
<mtk_>
i need to check both new_ and old_ files because there might be renamed files there as well
bungoman has joined #ruby-lang
bungoman_ has joined #ruby-lang
<[k->
you can use if as a modifier as it is only one line in the if clause and none in the else clause
<[k->
but then you would need to follow the { |x| } convention because there is only one line in the block
<[k->
and the line would be really long
<maloik>
no spaces between || imo, but that's preference... as for the oneliner, the puts mentions aborting but no aborting is being done so using do; end; is probably to be expected
<[k->
almost all programmers know && stands for and
<maloik>
thanks, I thought I'd read another post of yours
bungoman has quit [Ping timeout: 256 seconds]
JakFrist_ has joined #ruby-lang
<mtk_>
I'll look at the post, thanks!
<[k->
"This makes me sad"
<[k->
:(
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
jwaldrip_ has joined #ruby-lang
<avdi>
a.each_delta do | x |
<avdi>
if [x.new_file[:path], x.old_file[:path]].grep(/migrations/
<avdi>
).any?
<avdi>
puts "There are migrations, aborting..."
<avdi>
end
<avdi>
end
<avdi>
Whoops
<avdi>
Not used to Android irccloud
<avdi>
Hang on
<[k->
a.each_delta { |x| puts "There are migrations, aborting..." if [x.new_file[:path], x.old_file[:path]].grep(/migrations/ ).any? }
<[k->
i would do that ^
ryba has quit [Ping timeout: 258 seconds]
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has joined #ruby-lang
<avdi>
Yeah
<avdi>
Or just skip the if and use grep with a block
<avdi>
Skip The if and the any, I mean
dede has quit [Quit: Connection closed for inactivity]
thebastl has joined #ruby-lang
Rakko has joined #ruby-lang
shinnya has joined #ruby-lang
datanoise has joined #ruby-lang
<Rakko>
I'm working with WIN32OLE getting text from Word. I'm having a problem detecting text with two newlines in a row, though; even though I can see the \r\r in the strings when I just `p` them, I am unable to successfully match such strings using text.end_with?("\r\r"). What am I doing wrong?
alestuber has quit [Ping timeout: 256 seconds]
ryba has joined #ruby-lang
kfpratt has joined #ruby-lang
<maloik>
you might need to escape the backslashes there? not entirely sure
<Rakko>
pretty sure that's not it
<maloik>
could you gist a piece of code, preferably with an example of a string?
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Iskarlar has joined #ruby-lang
Guest7 has quit [Ping timeout: 264 seconds]
<Rakko>
I don't have an example of a string, but it is meant to work with a word .docx file with a block of text consisting of multiple lines ending in newline ("paragraphs" in Word-speak); and blank lines in between blocks
<Rakko>
and it searches for the string 10071764 in one of those blocks. It's meant to highlight the entire block that has that string in it, and then stop
atomical has joined #ruby-lang
<maloik>
you can't just load a file that contains said string, put it in a variable and output it?
AustinMatherne has quit [Quit: leaving]
tkuchiki has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
<Rakko>
just a sec. I will make a test case .docx and post it
tkuchiki has joined #ruby-lang
<maloik>
will still be hard to debug for me though, don't have access to a windows computer, let alone one with both ruby and word on it
alestuber has joined #ruby-lang
<Rakko>
oh, ok.
<Rakko>
I'm not sure what you mean about "put it in a variable and output it"
enebo has joined #ruby-lang
tkuchiki has quit [Ping timeout: 244 seconds]
bungoman_ has quit [Remote host closed the connection]
<maloik>
I mean using a console to run through your code and outputting the text at various points
<maloik>
might help you to figure out how come it never ends in \r\r for example, or why your loop never stops, or...
<Rakko>
oh, that's what this does.
<Rakko>
when I `p` (puts with inspect) the accumulated string, it always ends in "\r\r" when it's supposed to
<Rakko>
but I can't seem to detect that ending in my code
alestuber has quit [Remote host closed the connection]
<Rakko>
I keep wondering if somehow the OLE #Text method isn't following normal Ruby string rules
<Rakko>
but when I ask its class it
<Rakko>
but when I ask its class it's just String
symm- has joined #ruby-lang
ledestin has joined #ruby-lang
<maloik>
I might be missing the point of that api, but to me it looks like you create a search, then make it expand to the paragraph the term was found in
<maloik>
why do you still need to check on \r\r ?
<Rakko>
ok, this happens with regular ruby too (non-OLE/COM)
<maloik>
can you paste your "regular ruby" example?
<Rakko>
maloik: you're correct. the \r\r check is to make sure it doesn't expand past the block it belongs in
<maloik>
will be easier to see what's going on with that
<maloik>
hmm, well at that point you're coding a safeguard for the lib you're using... I think you should just trust the lib, unless you have a good reason not to?
<Rakko>
I do have a reason... Word doesn't just stop there
<Rakko>
huh... it appears that my use of loop do ... end until ... is to blame
j4cknewt has joined #ruby-lang
<Rakko>
I changed it to use break inside the loop and now it works
mikecmpbll has joined #ruby-lang
alestuber has joined #ruby-lang
bruno- has quit [Read error: Connection reset by peer]
<maloik>
could try "until text.ends_with?("\r\r"); #stuff; end" as well
bruno- has joined #ruby-lang
<Rakko>
well, almost
<Rakko>
that would check text at the beginning of the loop, right, maloik?
ogpastaling has joined #ruby-lang
mikecmpb_ has quit [Ping timeout: 255 seconds]
<maloik>
you'd expand the text in the loop, so first text is empty, it expands, checks again, oh theres newlines let's stop looping
caseypatrickdris has joined #ruby-lang
|jemc| has joined #ruby-lang
chinmay_dd has joined #ruby-lang
joaomdmoura has joined #ruby-lang
gambl0re has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
dzejrou has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
lektrik has joined #ruby-lang
joaomdmoura has joined #ruby-lang
k3asd` has quit [Remote host closed the connection]
lapide_viridi has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 252 seconds]
<ljarvis>
wat
dpatel has quit [Quit: dpatel]
caseypatrickdris has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
chinmay_dd has quit [Remote host closed the connection]
imperator2 has joined #ruby-lang
k3asd` has joined #ruby-lang
<Rakko>
ljarvis: ?
<Rakko>
thanks, maloik
<Rakko>
and [k-
solars has quit [Ping timeout: 255 seconds]
airdisa has joined #ruby-lang
airdisa has left #ruby-lang [#ruby-lang]
alestuber has quit [Remote host closed the connection]
caseypatrickdris has quit [Ping timeout: 252 seconds]
revath has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
Voker57 has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
revath has quit [Ping timeout: 245 seconds]
leat has quit [Ping timeout: 255 seconds]
leat has joined #ruby-lang
alestuber has joined #ruby-lang
ogpastal_ has quit [Remote host closed the connection]
ogpastaling has joined #ruby-lang
alestuber has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby-lang
ArchRogem is now known as ArchRogem[away]
ArchRogem[away] has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
tautvydas has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
leat has quit [Remote host closed the connection]
ArchRogem has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 256 seconds]
leat has joined #ruby-lang
michael_mbp has quit [Excess Flood]
kr3ssh has quit [Ping timeout: 264 seconds]
ruby-lang375 has joined #ruby-lang
<ruby-lang375>
hi all
<ruby-lang375>
I have a question about gem ruby for mysql
michael_mbp has joined #ruby-lang
yxhuvvd has joined #ruby-lang
<ruby-lang375>
I have a question about gem ruby for mysql
yxhuvvd has quit [Read error: Connection reset by peer]
<ruby-lang375>
i use ruby 1.9.1
<ruby-lang375>
And i don't find the gem for mysql
<ruby-lang375>
Some people are here ?
<ruby-lang375>
Youhou :) ?
ruby-lang375 has quit [Client Quit]
k3asd` has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby-lang
tautvydas has quit [Remote host closed the connection]
tautvydas has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
alestuber has joined #ruby-lang
houhoulis has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
_ht has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby-lang
michaeldeol has joined #ruby-lang
michael_mbp has joined #ruby-lang
bruno- has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
<pipework>
ruskie: Upgrade your ruby.
chouhoulis has quit [Remote host closed the connection]
revath has joined #ruby-lang
sandelius has joined #ruby-lang
chouhoulis has joined #ruby-lang
Contigi has joined #ruby-lang
sandelius has quit [Client Quit]
bungoman has joined #ruby-lang
revath has quit [Client Quit]
revath1 has joined #ruby-lang
djbkd has joined #ruby-lang
chouhoulis has quit [Ping timeout: 245 seconds]
tibig has joined #ruby-lang
rbowlby has joined #ruby-lang
leat has quit [Ping timeout: 258 seconds]
alestuber has quit [Remote host closed the connection]
<_ht>
Anyone know a good gtk3 tutorial? The ruby-gnome page seems to offer one for gtk2 and the one I found on http://zetcode.com/gui/rubygtk fails at the first example
<cschneid>
turns out I'm dumb :) it was doing what I wanted already
<cschneid>
sorta
<cschneid>
I was just trying to avoid repeated namespace definitions (one on root node, one deeper in the tree). But apparently it does that already. Nevermind :)
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cschneid>
(also, please note my general discontent when working w/ xml)
gambl0re has quit [Ping timeout: 264 seconds]
imperator has quit [Quit: This computer has gone to sleep]
Gate has quit [Quit: Lost terminal]
intinig has quit [Remote host closed the connection]
imperator has joined #ruby-lang
intinig has joined #ruby-lang
alestuber has joined #ruby-lang
dagda1_ has joined #ruby-lang
cb__ has joined #ruby-lang
shazaum has quit [Quit: Leaving]
leat has quit [Remote host closed the connection]
intinig has quit [Ping timeout: 265 seconds]
leat has joined #ruby-lang
djbkd has joined #ruby-lang
gambl0re has joined #ruby-lang
airdisa has quit [Remote host closed the connection]
alestuber has quit [Ping timeout: 255 seconds]
_ht has quit [Quit: Konversation terminated!]
baweaver has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
cb__ has quit [Remote host closed the connection]
cb_ has joined #ruby-lang
cb_ has joined #ruby-lang
revath has quit [Ping timeout: 255 seconds]
baweaver has joined #ruby-lang
solars has quit [Ping timeout: 256 seconds]
alestuber has quit [Ping timeout: 272 seconds]
A124 has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
A124 has joined #ruby-lang
apt-get_ has quit [Remote host closed the connection]