dpl has quit [Read error: Connection reset by peer]
dpl has joined #ruby
gell5 has joined #ruby
cthu| has quit [Ping timeout: 268 seconds]
gell5 has quit [Ping timeout: 265 seconds]
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
roaet has quit [Ping timeout: 276 seconds]
<leftylink>
too bad, looks like I was too late
banisterfiend has joined #ruby
<havenwood>
leftylink: not too late for the pop quiz. :P
<havenwood>
What's the result?!
<havenwood>
leftylink: Too late for yoshie?
fmccann has quit [Ping timeout: 258 seconds]
Esa_ has quit []
<leftylink>
too late for yoshie. it is too bad
<leftylink>
I read 14781 but I couldn't decide between whether I wanted to submit `ArgumentError no receiver`, [nil, nil, nil], or %w(main main main) as answer. actually I decided to go with the second one, for reasons
<leftylink>
the last one was not a sensible option anyway
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
<havenwood>
leftylink: [nil, nil, nil]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
bruce_lee has quit [Ping timeout: 245 seconds]
<havenwood>
leftylink: The default block argument is `nil`, so it's `nil.itself #=> nil`.
Intelo has quit [Ping timeout: 240 seconds]
<havenwood>
leftylink: You win!
bruce_lee has joined #ruby
dpl has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
henninb has quit [Read error: Connection reset by peer]
AJA4350 has quit [Quit: AJA4350]
banisterfiend has quit [Ping timeout: 276 seconds]
<phaul>
they can also be used for non instantiatable class like things, similar to what other OO langs would consider interfaces or abstract classes or mixins.
<kapil_>
thanks
jenrzzz has joined #ruby
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
Azure has quit [Ping timeout: 245 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
conta has quit [Remote host closed the connection]
Azure has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
xco has joined #ruby
MrCrackPot has quit [Quit: Something went wrong again oh the joys]
AJA4350 has joined #ruby
MrCrackPot has joined #ruby
Inline__ has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
Inline__ has quit [Client Quit]
alfiemax has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
jord has joined #ruby
Intelo has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
ur5us has quit []
Swyper has joined #ruby
FastJack has quit [Remote host closed the connection]
<leftylink>
well, either a person could say "this line of code would be useless if the order of operations is not a certain way", or a person could remove all doubt by running the code `b = nil; a = b ||= :set; p [a, b]` and see for one's self
PaulePanter has quit [Ping timeout: 245 seconds]
<leftylink>
where's that nick wilde picture that fits well here?
<leftylink>
lol I am good at this I swear. I took the screenshot just so I could post it, then I immediately deleted the screenshot, when instead I meant to delete the video
queip has joined #ruby
<leftylink>
turns out though the picture would have been too sassy, so I don't want to use it
henninb has quit [Quit: Lost terminal]
<leftylink>
joke's on me, the video was being streamed, so there wasn't even a video file to delete in the first place
henninb has joined #ruby
PaulePanter has joined #ruby
troulouliou_dev has joined #ruby
wymillerlinux has quit [Remote host closed the connection]
wymillerlinux has joined #ruby
poontangmessiah has joined #ruby
SeepingN has joined #ruby
meowray has joined #ruby
xco has joined #ruby
bruce_lee has quit [Ping timeout: 258 seconds]
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
cagomez has quit []
tpanarch1st_ has quit [Ping timeout: 258 seconds]
hutch1 has joined #ruby
jenrzzz has joined #ruby
banisterfiend has joined #ruby
xco has quit [Quit: xco]
xco has joined #ruby
banisterfiend has quit [Client Quit]
jenrzzz has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
banisterfiend has joined #ruby
SuperL4g is now known as SuperLag
GodFather has quit [Ping timeout: 265 seconds]
<kapil_>
what `namespace ::TypesHelper` means?
GodFather has joined #ruby
<havenwood>
kapil_: preceding a constant with :: means the outermost scope.
sshine has joined #ruby
<havenwood>
::Kapil is Kapil not Foo::Kapil or Foo::Bar::Kapil
<sshine>
hi. I see a File.extname, but it includes the dot. is there a safe and good way to get the filename extension, if any, without the dot? e.g. /path/to/foo.txt -> txt
banisterfiend has quit [Read error: Connection reset by peer]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leftylink>
if extname is sufficient but for the fact that it contains the dot, perhaps it would simply be best to remove it from extname
<sshine>
File.extname("/path/to/foo.txt")[1..-1] works, but File.extname("/path/to/.bashrc")[1..-1] gives nil and not ""
<havenwood>
sshine: delete_prefix('.')
<sshine>
maybe that's good enough.
<sshine>
havenwood, nice!
<sshine>
havenwood, hooray!
<havenwood>
\o/
<kapil_>
havenwood: thanks a lto
<kapil_>
lot
GodFather has quit [Ping timeout: 240 seconds]
dretnx has quit [Ping timeout: 268 seconds]
banisterfiend has joined #ruby
roaet has joined #ruby
MrCrackPotBuilde has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
MrCrackPotBuilde has joined #ruby
roaet has quit [Ping timeout: 240 seconds]
gell5 has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
gell5 has quit [Ping timeout: 265 seconds]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
dpl has joined #ruby
baojg has joined #ruby
henninb has quit [Read error: Connection reset by peer]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
henninb has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
queip has quit [Ping timeout: 240 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
xco has quit [Quit: xco]
baojg has quit [Remote host closed the connection]
fphilipe has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
queip has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
Fernando-Basso has joined #ruby
fphilipe has quit [Ping timeout: 240 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
dpl has quit [Read error: Connection reset by peer]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
hiroaki has quit [Ping timeout: 265 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
dpl has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
ropeney has quit [Read error: Connection reset by peer]
baojg has quit [Remote host closed the connection]
throsturt has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
ropeney has joined #ruby
hiroaki has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 245 seconds]
troulouliou_div2 has joined #ruby
gell5 has joined #ruby
alfiemax has joined #ruby
_whitelogger has joined #ruby
gell5 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
GodFather has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
cd has joined #ruby
mistergibson[m] has joined #ruby
jenrzzz has joined #ruby
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
poontangmessiah has quit [Remote host closed the connection]
sleepee has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
suukim has quit [Quit: Konversation terminated!]
emptyflask has joined #ruby
henninb has quit [Remote host closed the connection]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
Fernando-Basso has quit [Read error: Connection reset by peer]
nfip^ has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
banisterfiend has joined #ruby
banister_ has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
banister_ has quit [Ping timeout: 276 seconds]
henninb has joined #ruby
banister_ has joined #ruby
fphilipe has joined #ruby
sleepee has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Ping timeout: 265 seconds]
throsturx has joined #ruby
queip has quit [Ping timeout: 268 seconds]
fphilipe has quit [Ping timeout: 245 seconds]
throsturt has quit [Ping timeout: 240 seconds]
queip has joined #ruby
banister_ has quit [Ping timeout: 265 seconds]
dpl has quit [Ping timeout: 276 seconds]
gell5 has joined #ruby
sleepee has joined #ruby
hiroaki has quit [Ping timeout: 245 seconds]
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
absolutejam1 has joined #ruby
gell5 has quit [Ping timeout: 276 seconds]
nowhere_man has joined #ruby
hutch1 has quit [Ping timeout: 245 seconds]
henninb has quit [Read error: Connection reset by peer]
r29v has joined #ruby
Fischmiep has joined #ruby
henninb has joined #ruby
kaleido has quit [Quit: out]
kaleido has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Fischmiep has quit [Ping timeout: 246 seconds]
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
queip has quit [Ping timeout: 240 seconds]
bambanx has joined #ruby
plujon has joined #ruby
queip has joined #ruby
hutch1 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
emptyflask has quit [Ping timeout: 245 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
troulouliou_dev has joined #ruby
roaet has joined #ruby
henninb has quit [Read error: Connection reset by peer]
henninb has joined #ruby
roaet has quit [Ping timeout: 276 seconds]
cd has quit [Quit: cd]
bitwinery has joined #ruby
jenrzzz has joined #ruby
cd has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
henninb has quit [Quit: leaving]
kujira has joined #ruby
hutch1 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
dbugger has quit [Ping timeout: 245 seconds]
nowhere_man has quit [Ping timeout: 268 seconds]
hightower3 has quit [Ping timeout: 265 seconds]
x86sk has joined #ruby
throsturx has quit [Ping timeout: 276 seconds]
throsturx has joined #ruby
absolutejam1 has quit [Ping timeout: 276 seconds]
poontangmessiah has joined #ruby
nfip^ has left #ruby [#ruby]
oetjenj has joined #ruby
greengriminal has joined #ruby
schne1der has joined #ruby
gell5 has joined #ruby
DaRock has joined #ruby
absolutejam1 has joined #ruby
hutch1 has quit [Ping timeout: 245 seconds]
gell5 has quit [Ping timeout: 245 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
schne1der has quit [Ping timeout: 240 seconds]
sleepee has quit [Ping timeout: 245 seconds]
absolutejam1 has quit [Ping timeout: 240 seconds]
tdy has joined #ruby
Exuma has joined #ruby
ruby[bot] has quit [Remote host closed the connection]