elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 258 seconds]
CrazyEddy has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
gix has quit [Ping timeout: 265 seconds]
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wallace_mu has quit [Ping timeout: 240 seconds]
gitter1234 has quit [Quit: Connection closed for inactivity]
alfiemax has joined #ruby
gestrella has joined #ruby
ChmEarl has quit [Quit: Leaving]
braincrash has joined #ruby
cthulchu_ has quit [Ping timeout: 272 seconds]
Lewix has quit []
Lewix has joined #ruby
m27frogy has quit [Ping timeout: 240 seconds]
kristian_on_linu has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
gestrella has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
elcuervo has joined #ruby
cuerbot has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 240 seconds]
mozzarella has quit [Remote host closed the connection]
mozzarella has joined #ruby
Axy has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
dfucci has joined #ruby
chouhoulis has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
SuperLag has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
elcontrastador has joined #ruby
ur5us has joined #ruby
bocaneri has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 258 seconds]
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 256 seconds]
supercoven has joined #ruby
BSaboia has joined #ruby
braincrash has quit [Ping timeout: 260 seconds]
supercoven has quit [Max SendQ exceeded]
supercoven has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
greypack has quit [Ping timeout: 260 seconds]
Cork has quit [Excess Flood]
greypack has joined #ruby
supercoven has quit [Max SendQ exceeded]
Cork has joined #ruby
supercoven has joined #ruby
phage has joined #ruby
imode has quit [Ping timeout: 260 seconds]
hiroaki has quit [Ping timeout: 272 seconds]
cd has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
dfucci has joined #ruby
ur5us has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
exkith has joined #ruby
vondruch has quit [Quit: vondruch]
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
burgestrand has joined #ruby
schne1der has joined #ruby
cd has quit [Ping timeout: 246 seconds]
rippa has quit [Ping timeout: 260 seconds]
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
vondruch has joined #ruby
zacts has quit [Quit: leaving]
Cork has quit [Read error: Connection reset by peer]
Cork has joined #ruby
Cork has quit [Excess Flood]
Cork has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
schne1der has quit [Ping timeout: 256 seconds]
vondruch has quit [Quit: vondruch]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
m27frogy has joined #ruby
akem_ has quit [Ping timeout: 246 seconds]
vondruch has joined #ruby
alexherbo26 has joined #ruby
adu has quit [Quit: adu]
burgestrand has quit [Quit: burgestrand]
vondruch has quit [Quit: vondruch]
camilasan has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
snapcase has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
ur5us has joined #ruby
snapcase has joined #ruby
supercoven_ has joined #ruby
supercoven_ has quit [Max SendQ exceeded]
supercoven_ has joined #ruby
helpa has quit [Remote host closed the connection]
helpa-bot has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
supercoven has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
supercoven_ has quit [Max SendQ exceeded]
supercoven has joined #ruby
supercoven has quit [Max SendQ exceeded]
infinityfye has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
TCZ has joined #ruby
zacts has quit [Quit: leaving]
alexherbo268 has joined #ruby
alexherbo26 has quit [Ping timeout: 240 seconds]
TomyWork has joined #ruby
schne1der has joined #ruby
dfucci_ has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 240 seconds]
Axy has joined #ruby
ljarvis has joined #ruby
Mia has quit [Ping timeout: 256 seconds]
vondruch has joined #ruby
ua_ has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 260 seconds]
ua_ has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Mia has quit [Ping timeout: 260 seconds]
woodruffw has quit [Ping timeout: 260 seconds]
burgestrand has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
weego has quit [Ping timeout: 272 seconds]
weego has joined #ruby
banisterfiend has joined #ruby
chouhoulis has joined #ruby
banister_ has joined #ruby
banisterfiend has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
banister_ has quit [Client Quit]
burgestrand has quit [Quit: burgestrand]
burgestrand has joined #ruby
akem has joined #ruby
infinityfye has quit [Read error: Connection reset by peer]
phage has joined #ruby
alfiemax has quit [Remote host closed the connection]
georgie has joined #ruby
fuzzface has joined #ruby
ujjain2 has joined #ruby
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fuzzface has quit [Quit: Leaving]
akem has quit [Quit: Leaving]
ruurd has quit [Read error: Connection timed out]
ruurd has joined #ruby
phage has joined #ruby
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
infinityfye has joined #ruby
<burgestrand>
I'm trying to figure out if I have an opinion on inheriting from StandardError vs RuntimeError, but I can't think of an argument that isn't completely arbitrary/subjective.
<burgestrand>
Looking at the Ruby source it appears there's no actual difference, other than RuntimeError < StandardError, i.e. no extra methods, the message isn't different, etc
<burgestrand>
Since pretty much all errors are thrown during "runtime", I can't use that as a guide for "oh these errors are thrown during runtime vs compile time" :D
joshcom has joined #ruby
TCZ has quit [Quit: Leaving]
meinside has quit [Quit: Connection closed for inactivity]
alfiemax has quit [Remote host closed the connection]
dfucci has quit [Ping timeout: 272 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
akem has joined #ruby
goyangi has joined #ruby
chouhoulis has joined #ruby
exkith has quit [Ping timeout: 258 seconds]
wallace_mu has joined #ruby
weaksauce has quit [Ping timeout: 258 seconds]
dfucci has joined #ruby
pothibo has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
impermanence has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
georgie has quit [Remote host closed the connection]
tty1 has joined #ruby
<tty1>
if i am in class X, and calling a method in class Y that takes a do block. class X is calling that method in class Y and the do block itself is written in the initalize method of class X, is there a way for my do block to reference the self that is X (when i try this self points to Y)?
<jhass>
tty1: got a minimal example to demonstrate? Might be a bit easier to follow :)
<tty1>
jhass: well before the def after_configuration didnt work because it called pdf_export and thus app.proxy which it couldnt see/find .. so i need to do it with the do block in the initalize
<tty1>
jhass: the app.after_configuration in the initialze with the do block should be able to call proxy.. but now i cant call self.pdf_proxy
<jhass>
ah
<jhass>
so normally this would work like you expect. I guess in this context however app.after_configuration invokes its block via instance_eval. So the workaround to get to self here is to assign it to a local variable before the block, this = self; app.after_configuration { this.pdf_proxy }
<tty1>
hmm let me give that a go
alfiemax has joined #ruby
<tty1>
jhass: ok that seemed to work, now its just complaining that the method is private, but thats easy enough to fix :) I'll make it public
<jhass>
great :)
<jhass>
tty1: if the def after_configuration hooks is called otherwise like you need it to, it might also be simply possible to store app in def initialize and use it there, def initialize; @app = app; end; def after_configuration; @app.foo; end
<tty1>
jhass: thanks , im onto other problems now though :)
<jhass>
@app here is called an instance variable
dfucci_ has joined #ruby
<tty1>
jhass: now im having a different problem but i hacked a different solution ... mind helping me again?
<jhass>
just ask your question, anybody with time and a clue will respond :)
<tty1>
jhass: sweet, thanks, new hack worked.. my problems dont appear to be ruby related now :)
<jhass>
:P
<jhass>
okay, good luck
<tty1>
jhass: its a hack but i dont even care.. id learn the proper way but this is more an issue with middleman than ruby and i cant find docs on whats going on anyway
<tty1>
jhass: very much appreciated
<jhass>
sure, always also explaining to the benefit of the silent observers, you wouldn't guess how much I learned this way :)
georgie has quit [Read error: No route to host]
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
georgie has joined #ruby
ChmEarl has joined #ruby
dfucci_ has quit [Ping timeout: 260 seconds]
phage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has quit [Ping timeout: 260 seconds]
elcontrastador has joined #ruby
stryek has joined #ruby
stryek has quit [Max SendQ exceeded]
CustosLimen has quit [Ping timeout: 260 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
manveru has quit [Ping timeout: 260 seconds]
stryek has joined #ruby
ujjain2 has joined #ruby
CustosLimen has joined #ruby
manveru has joined #ruby
vondruch has quit [Ping timeout: 272 seconds]
georgie has quit [Remote host closed the connection]
pothibo has quit [Remote host closed the connection]
ramfjord has joined #ruby
emad has joined #ruby
Pyrophilia has joined #ruby
<phaul>
&renick
rubydoc_ is now known as rubydoc
<rubydoc>
okay
emad has quit [Client Quit]
Rudd0 has joined #ruby
cd has joined #ruby
bmurt has joined #ruby
howdoi has joined #ruby
zacts has joined #ruby
vondruch has joined #ruby
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weaksauce has joined #ruby
georgie has joined #ruby
gestrella has joined #ruby
georgie has quit [Read error: Connection reset by peer]
TCZ has quit [Quit: Leaving]
imode has joined #ruby
burgestrand has quit [Quit: burgestrand]
ujjain2 has joined #ruby
Pyrophilia has quit [Remote host closed the connection]
georgie has joined #ruby
gestrella has quit [Read error: Connection reset by peer]
georgie has quit [Read error: Connection reset by peer]