havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.0, 2.4.3, 2.3.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jrabe has joined #ruby
chocoelho has joined #ruby
eightlimbed has joined #ruby
milardovich has quit []
eightlimbed has quit [Remote host closed the connection]
alfiemax has joined #ruby
jtdoncas has joined #ruby
hfp_work has quit [Quit: bye]
r3kz has quit [Quit: Connection closed for inactivity]
willardg has joined #ruby
willardg has quit [Client Quit]
fmcgeough has joined #ruby
c0ncealed has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 256 seconds]
c0ncealed has joined #ruby
han` has joined #ruby
cdg has joined #ruby
guardianx has joined #ruby
jtdoncas has quit [Ping timeout: 256 seconds]
Dimik has joined #ruby
han` has quit [Client Quit]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
hfp_work has joined #ruby
bronson has joined #ruby
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
drewmcmillan has joined #ruby
radialneon has quit [Quit: Leaving]
rrutkowski has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
desperek has joined #ruby
splargle has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
splargle has joined #ruby
raatiniemi has quit [Read error: Connection reset by peer]
goepsilongo has joined #ruby
raatiniemi has joined #ruby
cdg has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
weaksauc_ has quit [Remote host closed the connection]
weaksauce has joined #ruby
guardianx has quit []
mistergibson has quit [Quit: Leaving]
jtdoncas has joined #ruby
dviola has quit [Quit: WeeChat 2.0.1]
quobo has quit [Quit: Connection closed for inactivity]
mistergibson has joined #ruby
jtdoncas has quit [Ping timeout: 255 seconds]
nopolitica has quit [Ping timeout: 268 seconds]
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #ruby
clemens3 has quit [Ping timeout: 256 seconds]
fmcgeough has quit [Quit: fmcgeough]
desperek has quit [Quit: xoxo]
rrutkowski has quit [Ping timeout: 264 seconds]
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
jnyw has quit [Quit: WeeChat 2.0.1]
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
ur5us has joined #ruby
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
ResidentBiscuit has joined #ruby
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
amatas has quit [Quit: amatas]
oleo has quit [Remote host closed the connection]
belmoussaoui has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
oleo has joined #ruby
oleo has quit [Remote host closed the connection]
jtdoncas has joined #ruby
oleo has joined #ruby
jameser has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
jtdoncas has quit [Ping timeout: 256 seconds]
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
jtdoncas has joined #ruby
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
jtdoncas has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
cdg has joined #ruby
marr has quit [Ping timeout: 276 seconds]
gizmore|2 is now known as gizmore
r3kz has joined #ruby
<gizmore> php faster than ruby
selim has quit [Ping timeout: 248 seconds]
jtdoncas has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
selim has joined #ruby
mtkd has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has joined #ruby
<TomyLobo> if that's true, you still wouldn't use php for code that needs to run fast
<TomyLobo> or for anything, for that matter
<TomyLobo> if you need it fast, you write it in C or C++
<Zarthus> if you need it fast, don't use any serverside code and write your entire application in javascript
<TomyLobo> thaaaat depends
jtdoncas has quit [Ping timeout: 255 seconds]
<Zarthus> TomyLobo: fast for the server ;)
<TomyLobo> hah
<TomyLobo> might as well write a regular application then
<baweaver> gizmore: is there a point there?
<baweaver> or are you just trolling?
dostoyevsky has joined #ruby
<dostoyevsky> What's the best way to quote my filename if I want to: system "ls -ald #{Dir["*something*"][0]}" ?
<gizmore> baweaver: i am jelous that i may not code ruby at work, so i troll here instead
<gizmore> and php is faster!
<gizmore> doesntbyte: there is a System.quote or somethin
<baweaver> gizmore: it may well be, but it's trolling to randomly come in and say that without it being mentioned at all
jaequery has joined #ruby
<gizmore> @ doesntbyte argv = Shellwords.escape("special's.txt")
<gizmore> argv #=> "special\\s.txt"
<gizmore> system("cat " + argv)
<gizmore> baweaver: i told you i was trolling.... you were right. i was trolling
jtdoncas has joined #ruby
<gizmore> baweaver: but better a (funny) troll a day, than silence?
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
oleo has quit [Remote host closed the connection]
bronson has joined #ruby
oleo has joined #ruby
Vapez has quit [Remote host closed the connection]
jtdoncas has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
jtdoncas has quit [Ping timeout: 276 seconds]
gizmore|2 has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
apparition has quit [Quit: Bye]
ResidentBiscuit has joined #ruby
<gizmore|2> php so such bad syntax... but way faster than ruby
Dimik has quit [Ping timeout: 256 seconds]
PresidentBiscuit has joined #ruby
JaredR has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
Resident_ has joined #ruby
ResidentBiscuit has quit [Ping timeout: 256 seconds]
Residen__ has joined #ruby
gizmore|2 is now known as gizmore
ResidentBiscuit has joined #ruby
PresidentBiscuit has quit [Ping timeout: 276 seconds]
PresidentBiscuit has joined #ruby
JaredR has quit [Ping timeout: 276 seconds]
JaredR has joined #ruby
jtdoncas has joined #ruby
Resident_ has quit [Ping timeout: 276 seconds]
Resident_ has joined #ruby
Residen__ has quit [Ping timeout: 276 seconds]
Residen__ has joined #ruby
ResidentBiscuit has quit [Ping timeout: 276 seconds]
ResidentBiscuit has joined #ruby
justicefries has joined #ruby
justicefries has quit [Client Quit]
PresidentBiscuit has quit [Ping timeout: 276 seconds]
Reside___ has joined #ruby
splargle has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jtdoncas has quit [Ping timeout: 256 seconds]
JaredR has quit [Ping timeout: 276 seconds]
PresidentBiscuit has joined #ruby
Resident_ has quit [Ping timeout: 276 seconds]
JaredR has joined #ruby
Azure|dc has quit [Read error: Connection reset by peer]
Residen__ has quit [Ping timeout: 276 seconds]
Resident_ has joined #ruby
Azure has joined #ruby
nopolitica has joined #ruby
ResidentBiscuit has quit [Ping timeout: 276 seconds]
ResidentBiscuit has joined #ruby
Reside___ has quit [Ping timeout: 276 seconds]
Residen__ has joined #ruby
PresidentBiscuit has quit [Ping timeout: 276 seconds]
vichib has joined #ruby
PresidentBiscuit has joined #ruby
JaredR has quit [Ping timeout: 276 seconds]
TomyLobo has quit [Ping timeout: 256 seconds]
JaredR has joined #ruby
rrutkowski has joined #ruby
nopolitica has quit [Ping timeout: 240 seconds]
Resident_ has quit [Ping timeout: 276 seconds]
Resident_ has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
ResidentBiscuit has joined #ruby
alfiemax has joined #ruby
Residen__ has quit [Ping timeout: 255 seconds]
rrutkowski has quit [Client Quit]
Residen__ has joined #ruby
PresidentBiscuit has quit [Ping timeout: 255 seconds]
rrutkowski has joined #ruby
guardianx has joined #ruby
TomyLobo has joined #ruby
PresidentBiscuit has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
JaredR has quit [Ping timeout: 255 seconds]
JaredR has joined #ruby
Resident_ has quit [Ping timeout: 255 seconds]
Resident_ has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
alfiemax has quit [Ping timeout: 276 seconds]
ResidentBiscuit has joined #ruby
Residen__ has quit [Ping timeout: 255 seconds]
jtdoncas has joined #ruby
Residen__ has joined #ruby
PresidentBiscuit has quit [Ping timeout: 255 seconds]
PresidentBiscuit has joined #ruby
eckhardt has joined #ruby
PresidentBiscuit has quit [K-Lined]
Residen__ has quit [K-Lined]
ResidentBiscuit has quit [K-Lined]
Resident_ has quit [K-Lined]
JaredR has quit [K-Lined]
guardianx has quit [Ping timeout: 276 seconds]
cadillac_ has joined #ruby
ResidentBiscuit has joined #ruby
jtdoncas has quit [Ping timeout: 256 seconds]
n0m4d1c has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #ruby
AJA4350 has quit [Remote host closed the connection]
RougeR has quit [Ping timeout: 240 seconds]
Dark_Arc has quit [Quit: ZNC 1.6.5 - http://znc.in]
Dark_Arc has joined #ruby
bronson has joined #ruby
jaequery has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
rrutkowski has quit [Ping timeout: 256 seconds]
justicefries has joined #ruby
jtdoncas has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtdoncas has quit [Ping timeout: 256 seconds]
KevinSjoberg has joined #ruby
cadillac_ has joined #ruby
Dark_Arc has quit [Quit: ZNC 1.6.5 - http://znc.in]
Dark_Arc has joined #ruby
QualityAddict has quit [Ping timeout: 276 seconds]
nopolitica has joined #ruby
John____ has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
nopolitica has quit [Ping timeout: 256 seconds]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justicefries has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justicefries has quit [Client Quit]
jaequery has joined #ruby
jtdoncas has joined #ruby
QualityAddict has joined #ruby
<craysiii> I've been publishing my gem to rubygems using 'rake release'. Today I wanted to start signing my commits with gpg, and successfully configured git in order to do so. However, I'm wondering if when I run 'rake release', the tag created will be signed as well.
jtdoncas has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
bronson has joined #ruby
bkxd has quit [Client Quit]
orbyt_ has joined #ruby
kapil___ has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
k0mpa has quit [Remote host closed the connection]
pastorinni has joined #ruby
<gizmore> craysiii: good question (test)
<gizmore> there were some things being done about ruby gem security the past year(s) .... probably all is fine, but only an expert can answer this (not me)
alfiemax has joined #ruby
MaksimPinigin has joined #ruby
rrutkowski has joined #ruby
rrutkowski has quit [Remote host closed the connection]
rrutkowski has joined #ruby
jtdoncas has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has quit []
rrutkowski has quit [Ping timeout: 255 seconds]
KevinSjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d_kam has joined #ruby
gix has joined #ruby
nopolitica has joined #ruby
gix- has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nopolitica has quit [Ping timeout: 255 seconds]
vyorkin has joined #ruby
vyorkin has quit [Ping timeout: 276 seconds]
jameser has quit [Remote host closed the connection]
keyjoo_ has joined #ruby
jameser has joined #ruby
splargle has joined #ruby
d_kam has quit [Quit: Be back later ...]
d_kam has joined #ruby
jaequery has joined #ruby
jaequery has quit [Client Quit]
orbyt_ has joined #ruby
d_kam has quit [Ping timeout: 256 seconds]
k0mpa has joined #ruby
MaksimPinigin has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
abra_ha_m has joined #ruby
hanmac has quit [Ping timeout: 255 seconds]
mikhael_k33hl has joined #ruby
<mikhael_k33hl> Anyone using concurrent ruby futures with observable? Do we really need to pass in a new object like add_observer(Object.new), can't we pass in an object instantiated prior to adding it to the add_observer method?
xa0s_ has joined #ruby
<gizmore> sure... why not?
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikhael_k33hl> gizmore: when I pass in a variable/reference to a previously instantiated object, my script gets stuck on the statement add_observer
<gizmore> gets stuck?
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
<mikhael_k33hl> gizmore: yeah, basing on the output of puts it only get to the point where it outputs 'weeee'
k0mpa has quit [Remote host closed the connection]
<gizmore> your obvserved stuff is initialized in another thread?
govg has joined #ruby
<mikhael_k33hl> gizmore: oh so can't use it on another one?
<gizmore> it might cause problems :)
<gizmore> not sure yet
<gizmore> you pasted a lot of code
<gizmore> @mirror_observer = MirrorObserver.new
<gizmore> should be available in other thread too
vichib has quit [Read error: Connection reset by peer]
<gizmore> maybe try without a thread
<gizmore> jk
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikhael_k33hl> gizmore: hehehe, anyway, let's try to binding.irb, thanks though :)
jaequery has joined #ruby
<gizmore> i am able to break perfomance with O(n) algos :=
xa0s_ has quit [Quit: leaving]
cdg has quit [Remote host closed the connection]
jaequery has quit [Client Quit]
eb0t has joined #ruby
hanmac has joined #ruby
nopolitica has joined #ruby
k0mpa has joined #ruby
xa0s_ has joined #ruby
zigzig has quit [Ping timeout: 272 seconds]
nopolitica has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zigzig has joined #ruby
MaksimPinigin has joined #ruby
jameser has quit [Remote host closed the connection]
jameser has joined #ruby
jameser has quit [Client Quit]
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
Yzguy has joined #ruby
<Yzguy> Hello
justicefries has joined #ruby
MaksimPinigin has quit [Ping timeout: 256 seconds]
<gizmore> Yzguy: hola
Guest71626 has quit [Ping timeout: 252 seconds]
konsolebox has quit [Ping timeout: 255 seconds]
konsolebox has joined #ruby
Yzguy has quit [Quit: Zzz...]
keyjoo_ has quit [Remote host closed the connection]
<mikhael_k33hl> hmmm I can't seem to rescue json's Failed parsing error . . .
ResidentBiscuit has quit [Remote host closed the connection]
abra_ha_m has quit [Quit: abra_ha_m]
cschneid_ has joined #ruby
bronson has joined #ruby
jaequery has joined #ruby
jaequery has quit [Client Quit]
Nicmavr has joined #ruby
Nicmavr is now known as Guest29688
bronson has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 276 seconds]
Flonk has quit [Ping timeout: 252 seconds]
ResidentBiscuit has joined #ruby
uptime has quit [Quit: I admit, that I would never rather them burn me]
rippa has joined #ruby
nopolitica has joined #ruby
jameser has joined #ruby
goepsilongo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MaksimPinigin has joined #ruby
nopolitica has quit [Ping timeout: 256 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
k0mpa has quit [Remote host closed the connection]
jameser has quit [Remote host closed the connection]
jameser has joined #ruby
alfiemax has joined #ruby
splargle has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 255 seconds]
jameser has quit [Remote host closed the connection]
jameser has joined #ruby
graaff has joined #ruby
jameser has quit [Client Quit]
bronson has joined #ruby
eb0t has quit [Quit: WeeChat 1.9.1]
anisha has joined #ruby
alex`` has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
Guest95229 has joined #ruby
anisha has quit [Client Quit]
Guest95229 has quit [Client Quit]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Client Quit]
xa0s_ has quit [Quit: leaving]
cdg has joined #ruby
jtdoncas has quit [Ping timeout: 276 seconds]
cdg has quit [Ping timeout: 255 seconds]
conta has joined #ruby
eb0t has joined #ruby
nopolitica has joined #ruby
nopolitica has quit [Ping timeout: 260 seconds]
Ishido has quit [Ping timeout: 256 seconds]
jameser has joined #ruby
<apeiros> mikhael_k33hl: are you just making statements or is there a question in there?
ur5us has joined #ruby
Ishido has joined #ruby
<mikhael_k33hl> apeiros: oh sorry about that, haha . . . I'm using beaneater(https://github.com/beanstalkd/beaneater) and when a job can't be parsed into json object it just outputs the message: "Can't be parsed into json object", I can't even catch or rescue it . . . any idea how I can do it?
<apeiros> now see, that's already vastly different from your original statement. a reproducible peace of code would go a long way. but there's a good chance that it's not an exception you're seeing, hence nothing to rescue.
ResidentBiscuit has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
PresidentBiscuit has joined #ruby
JaredR has joined #ruby
Resident_ has joined #ruby
Residen__ has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
ResidentBiscuit has joined #ruby
PresidentBiscuit has quit [Ping timeout: 255 seconds]
PresidentBiscuit has joined #ruby
JaredR has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
JaredR has joined #ruby
Resident_ has quit [Ping timeout: 255 seconds]
Resident_ has joined #ruby
Residen__ has quit [Ping timeout: 255 seconds]
PresidentBiscuit has quit [K-Lined]
ResidentBiscuit has quit [K-Lined]
Resident_ has quit [K-Lined]
JaredR has quit [K-Lined]
alfiemax has joined #ruby
bronson has joined #ruby
marr has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel has joined #ruby
conta has quit [Quit: conta]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
MaksimPinigin has quit [Quit: My computer went into sleep mode or I turned it off]
MaksimPinigin has joined #ruby
dionysus69 has joined #ruby
clemens3 has joined #ruby
ResidentBiscuit has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nopolitica has joined #ruby
nopolitica has quit [Ping timeout: 256 seconds]
KeyJoo has joined #ruby
<garyserj> what does it mean to assign a value to a parameter in the method signature like def a(aa=4) ?
<apeiros> the argument is optional and by default has the value 4
<garyserj> thanks
<apeiros> note that `def foo(arg: 2)` and `def foo(arg = 2)` are not the same
VladGh_ has joined #ruby
mtkd has quit [Read error: Connection reset by peer]
nowhere_man has quit [Ping timeout: 276 seconds]
<garyserj> yeah i'm aware of dictionaries, thanks
mtkd has joined #ruby
<garyserj> hashtable rather
<apeiros> that's not what it is either. even if it looks the same.
VladGh has quit [Ping timeout: 268 seconds]
<apeiros> those are keyword args. while you can set it by passing a hash, the args themselves aren't a hash. the values end up in the individual args.
minimalism has quit [Quit: minimalism]
ur5us has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
ur5us has joined #ruby
milardovich has quit [Remote host closed the connection]
mikhael_k33hl has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
cdg_ has joined #ruby
quobo has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
cdg_ has quit [Ping timeout: 276 seconds]
jnyw has joined #ruby
bronson has joined #ruby
Dimik has joined #ruby
miskatonic has joined #ruby
nowhere_man has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
alex`` has quit [Quit: WeeChat 1.9]
uptime has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
vyorkin has joined #ruby
belmoussaoui has joined #ruby
nibbo has quit [Read error: Connection reset by peer]
uptime has quit [Quit: They ask me how I'm doing and I say, "quite frankly, stellar."]
anisha has joined #ruby
splargle has joined #ruby
govg has quit [Ping timeout: 248 seconds]
apparition has joined #ruby
govg has joined #ruby
amatas has joined #ruby
uptime has joined #ruby
jnyw has quit [Quit: WeeChat 2.0.1]
Ishido has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
elcontrastador has quit [Read error: Connection reset by peer]
elcontrastador has joined #ruby
Ishido has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
MaksimPinigin has quit [Ping timeout: 256 seconds]
splargle has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
AJA4350 has joined #ruby
tomphp has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
tomphp has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
Flonk has joined #ruby
drewmcmillan has joined #ruby
oetjenj has joined #ruby
milardovich has quit []
bkxd has joined #ruby
MaksimPinigin has joined #ruby
InfinityFye has joined #ruby
harmaahylje has quit [Quit: ha]
harmaahylje has joined #ruby
darkhanb has joined #ruby
GremL1N2 has joined #ruby
KeyJoo has quit [Ping timeout: 276 seconds]
bkxd has quit [Ping timeout: 264 seconds]
nso95 has joined #ruby
nso95 has left #ruby [#ruby]
bkxd has joined #ruby
_ZerGabriel_ has joined #ruby
_ZerGabriel_ is now known as ZerGabriel
ZerGabriel has quit [Client Quit]
_ZerGabriel_ has joined #ruby
_ZerGabriel_ is now known as ZerGabriel
ZerGabriel has quit [Client Quit]
govg has quit [Quit: leaving]
govg has joined #ruby
n0m4d1c has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
reber has joined #ruby
oetjenj has joined #ruby
sameerynho has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
justinfaler has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
soahccc_ is now known as soahccc
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
jameser has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
biberu has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
tatey has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
Dimik has quit [Ping timeout: 256 seconds]
drewmcmillan has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has quit [Ping timeout: 276 seconds]
iamarun has joined #ruby
vyorkin has quit [Quit: WeeChat 2.0.1]
iamarun has quit [Ping timeout: 265 seconds]
n0m4d1c has quit [Remote host closed the connection]
amatas has quit [Quit: amatas]
jameser has joined #ruby
jameser has quit [Client Quit]
bkxd has quit []
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
nicesignal has quit [Ping timeout: 255 seconds]
ResidentBiscuit has quit [Ping timeout: 256 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
nicesignal has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
milardovich has quit [Remote host closed the connection]
jameser has joined #ruby
milardovich has joined #ruby
mtkd has joined #ruby
sameerynho has joined #ruby
KeyJoo has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
bronson has joined #ruby
milardovich has joined #ruby
nopolitica has joined #ruby
milardovich has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
milardovich has quit [Client Quit]
eblip has joined #ruby
shinnya has joined #ruby
InfinityFye has quit [Ping timeout: 256 seconds]
InfinityFye has joined #ruby
oleo has quit [Remote host closed the connection]
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oleo has joined #ruby
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
nowhere_man has quit [Quit: Konversation terminated!]
nowhere_man has joined #ruby
TomyLobo has quit [Ping timeout: 256 seconds]
KevinSjoberg has joined #ruby
drewmcmillan has joined #ruby
Ishido has quit [Read error: Connection reset by peer]
KevinSjoberg has quit [Client Quit]
Ishido has joined #ruby
nopolitica has quit [Quit: WeeChat 1.9]
cdg has joined #ruby
marr has quit [Remote host closed the connection]
r3kz has quit [Quit: Connection closed for inactivity]
cdg has quit [Ping timeout: 255 seconds]
DTZUZU has quit [Read error: Connection reset by peer]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miskatonic has quit [Remote host closed the connection]
KevinSjoberg has joined #ruby
nagos has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
splargle has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
apparition has quit [Quit: Bye]
Azure has quit [Read error: Connection reset by peer]
cdg has joined #ruby
Azure has joined #ruby
dionysus69 has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
anisha has quit [Ping timeout: 256 seconds]
kith has joined #ruby
John____ has joined #ruby
eblip has quit [Quit: WeeChat 1.9.1]
anisha has joined #ruby
tomphp has joined #ruby
DTZUZU has joined #ruby
alex`` has joined #ruby
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
sameerynho has quit [Ping timeout: 256 seconds]
vichib has joined #ruby
oleo has quit [Quit: Leaving]
vichib has quit [Client Quit]
fmcgeough has joined #ruby
vichib has joined #ruby
nagos has quit []
splargle has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Ishido has quit [Ping timeout: 276 seconds]
sidx64 has joined #ruby
Ishido has joined #ruby
oleo has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
John____ has quit [Read error: Connection reset by peer]
sidx64 has quit [Max SendQ exceeded]
sidx64 has joined #ruby
ldepandis has joined #ruby
kith_ has joined #ruby
kith_ has quit [Client Quit]
kith has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
cdg has joined #ruby
splargle has joined #ruby
tomphp has joined #ruby
bronson has joined #ruby
cdg_ has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 276 seconds]
my123 has quit [Ping timeout: 256 seconds]
k0mpa has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eblip has joined #ruby
my123 has joined #ruby
alfiemax has joined #ruby
my123 has quit [Changing host]
my123 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
kraljev11 has joined #ruby
kraljev11 has quit [Read error: Connection reset by peer]
kraljev11 has joined #ruby
kraljev11 has quit [Client Quit]
mtkd has quit [Ping timeout: 255 seconds]
nicesignal has quit [Ping timeout: 256 seconds]
mtkd has joined #ruby
nicesignal has joined #ruby
Ltem has joined #ruby
MaksimPinigin1 has joined #ruby
MaksimPinigin1 has quit [Client Quit]
selim_ has joined #ruby
selim has quit [Ping timeout: 265 seconds]
MaksimPinigin has quit [Ping timeout: 256 seconds]
desperek has joined #ruby
prutheus has joined #ruby
<prutheus> Hello. I am on rails. Per default, when I do a redirect to a controller, I can give a notice there which i can show in the erb file as info or so ... now, I wanna give enxt to notice an second text, called error, but I get when I use: "<p id="error_explanation"><%= error %></p>" following error: "undefined local variable or method `error'" called via: "redirect_to scripts_path, error: "'#{@script.name}' already running.""
<prutheus> But why? how to realize what I wanna do?
Riddell has quit [Ping timeout: 256 seconds]
AJA4350 has quit [Remote host closed the connection]
facest has quit [Read error: Connection reset by peer]
raynold has quit [Quit: Connection closed for inactivity]
Riddell has joined #ruby
faces has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui has joined #ruby
chocoelho has quit [Ping timeout: 240 seconds]
prutheus has quit [Quit: Page closed]
bronson has joined #ruby
belmoussaoui has quit [Client Quit]
belmoussaoui has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
alfiemax has quit [Remote host closed the connection]
sameerynho has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
goepsilongo has joined #ruby
elphe has quit [Quit: Lost terminal]
cadillac_ has joined #ruby
alfiemax has joined #ruby
ahrs has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
ahrs has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
fnodeuser has joined #ruby
alfiemax has joined #ruby
cdg_ has quit [Remote host closed the connection]
belmoussaoui has quit [Ping timeout: 256 seconds]
John____ has joined #ruby
pwnd_nsfw` has quit [Quit: Leaving]
belmoussaoui has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drewmcmillan has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #ruby
mtkd has joined #ruby
sidx64 has quit [Client Quit]
dviola has joined #ruby
marr has joined #ruby
cdg has joined #ruby
KevinSjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has joined #ruby
bronson has joined #ruby
KevinSjoberg has joined #ruby
GremL1N2 has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 276 seconds]
chocoelho has joined #ruby
guille-moe has joined #ruby
tomphp has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
KevinSjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
alfiemax has quit [Remote host closed the connection]
shtirlic has joined #ruby
AJA4350 has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
za1b1tsu has joined #ruby
<za1b1tsu> is there someway I can do this subject[:score], subject[:rates], subject[:min], subject[:max]) more rubly like? Like .map or similar?
<za1b1tsu> subject.something { score, rates, min, max }?
cdg has quit [Ping timeout: 276 seconds]
alex`` has quit [Ping timeout: 256 seconds]
Rouge_ has joined #ruby
alex`` has joined #ruby
lalomergo has joined #ruby
Rouge_ has quit [Client Quit]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
<za1b1tsu> Found this subject.attributes.slice("score","rates","min","max").values
<za1b1tsu> is it possible do it with less?
<havenwood> za1b1tsu: values_at
dtscode has joined #ruby
nowhereman_ has quit [Read error: Connection reset by peer]
nchambers has quit [Quit: so long and thanks for all the fish!]
dtscode is now known as nchambers
<za1b1tsu> beautifull sucks that doesnt work on active record need to use to_h maybe
nowhereman_ has joined #ruby
<za1b1tsu> to json actually
lalomergo has quit [Quit: Leaving]
alfiemax_ has joined #ruby
AJA4350 has quit [Ping timeout: 256 seconds]
marr has quit [Remote host closed the connection]
AJA4350 has joined #ruby
bmurt has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
alfiemax_ has quit [Remote host closed the connection]
tomphp has joined #ruby
alfiemax has joined #ruby
tomphp has quit [Ping timeout: 276 seconds]
InfinityFye has quit [Quit: Leaving]
alfiemax has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving]
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drewmcmillan has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
n0m4d1c has joined #ruby
govg has quit [Ping timeout: 256 seconds]
lalomergo has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
govg has joined #ruby
claudiuinberlin has joined #ruby
nchambers has quit [Quit: So long and thanks for all the fish!]
nchambers has joined #ruby
KevinSjoberg has joined #ruby
govg has quit [Ping timeout: 256 seconds]
nchambers has quit [Client Quit]
nchambers has joined #ruby
leitz has joined #ruby
jaequery has joined #ruby
desperek has quit [Quit: xoxo]
alfiemax has joined #ruby
amatas has joined #ruby
jnollette has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 256 seconds]
jnollette has joined #ruby
Azure|dc has quit [Read error: Connection reset by peer]
Azure has joined #ruby
fmcgeough has joined #ruby
desperek has joined #ruby
phate408 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
drakko has joined #ruby
claudiuinberlin has joined #ruby
oleo has quit [Quit: Leaving]
alex`` has quit [Ping timeout: 256 seconds]
desperek has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 256 seconds]
drakko has quit [Client Quit]
obr7_ has quit [Ping timeout: 260 seconds]
marr has joined #ruby
<craysiii> join #bundler
<craysiii> oops
chouhoulis has joined #ruby
conta has joined #ruby
nek has joined #ruby
<nek> Hello guys
anisha has joined #ruby
<nek> I'm a newbie with ruby. I just upgraded my version by compiling it.
<nek> When I try `bundle exec rake db:migrate RAILS_ENV=production` on my app I get this : `Could not find vmstat-2.3.0 in any of the sources`
<nek> (it's a gitlab upgrade)
<nek> When I try `bundle exec gem list | grep vmstat`
<nek> I get `vmstat (2.3.0)`
goepsilongo has quit [Quit: Textual IRC Client: www.textualapp.com]
<nek> So everything looks allright :(
<nek> But I cant make it work
<nek> Any idea what's wrong ?
justicefries has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<adaedra> Did you `bundle install`?
<nek> yes
<nek> I used `bundle install --without postgres development test --deployment`
<adaedra> Can you give the output of `which gem` and `which bundle`?
<nek> which gem: /usr/local/bin/gem
<nek> which bundle: /usr/local/bin/bundle
Stazer has joined #ruby
<adaedra> What does the `vmstat` line looks like in the `Gemfile`?
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theRealGent has joined #ruby
<nek> gem 'vmstat', '~> 2.3.0'
jaequery has joined #ruby
<nek> adaedra: maybe I should reinstall everything ? (idk how)
<adaedra> that would not explain the problem, but go on if you think it'll solve it
<nek> How am I suppose to do that ? x)
<adaedra> Can you show `gem env`?
drewmcmillan has joined #ruby
<adaedra> I see nothing out of place
<nek> in gem path I see `/home/git/.gem/ruby/2.3.0`
<nek> But after upgrade the ruby version is 2.3.3
shtirlic has quit [Quit: ZNC - http://znc.in]
goatish has joined #ruby
<nek> (I'm not sure it's wrong anyway)
fmcgeough has quit [Quit: fmcgeough]
<adaedra> That's the abi version
<adaedra> ?abi
<ruby[bot]> Each Ruby release has actually two versions, the interpreter version and the ABI version. The interpreter version is what commonly is referred to, like 2.1.5. The ABI version is for the binary interface used by compiled extensions and it is what you see in your paths. It's shared among one release s
<ruby[bot]> eries, for example for the Ruby versions 2.1.0 to 2.1.5 the ABI version is 2.1.0.
shtirlic has joined #ruby
<nek> hummmm okkkk
<adaedra> btw, for 2.3 line the latest is 2.3.6
Ltem has quit [Quit: bbl]
selim_ has quit [Ping timeout: 240 seconds]
selim has joined #ruby
<nek> So you have no idea why I have the issue ?
<nek> or how to fix it ?
<adaedra> no :(
<nek> how can I drop dependencies and reinstall them ?
<adaedra> you'd have to `gem uninstall them`
<adaedra> mh, misplaced a `
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
s3nd1v0g1us has joined #ruby
chouhoulis has quit []
anisha has quit [Quit: This computer has gone to sleep]
tomphp_ has joined #ruby
<nek> omg
<nek> I assume i did something wrong
chouhoulis has joined #ruby
shaman42 has quit [Ping timeout: 276 seconds]
tomphp has quit [Ping timeout: 276 seconds]
sameerynho has quit [Quit: WeeChat 1.9.1]
bronson has joined #ruby
sameerynho has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 255 seconds]
oleo has joined #ruby
Azure has quit [Ping timeout: 255 seconds]
oleo has quit [Remote host closed the connection]
oleo has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
Azure has joined #ruby
Puffball has joined #ruby
sidx64 has joined #ruby
mtkd has joined #ruby
cdg has joined #ruby
woodruffw has quit [Ping timeout: 240 seconds]
Azure|dc has joined #ruby
woodruffw has joined #ruby
woodruffw has joined #ruby
Azure has quit [Ping timeout: 255 seconds]
VladGh_ has quit [Remote host closed the connection]
VladGh has joined #ruby
alfiemax has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
alfiemax has quit [Ping timeout: 256 seconds]
sandelius has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
JustFly has joined #ruby
elementaru has joined #ruby
shaman42 has joined #ruby
k0mpa has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lcarlson has joined #ruby
justicefries has joined #ruby
skweek has joined #ruby
jeffreylevesque_ has joined #ruby
jeffreylevesque has quit [Ping timeout: 276 seconds]
chocoelho has quit [Ping timeout: 256 seconds]
k0mpa has joined #ruby
justinfaler has joined #ruby
banisterfiend has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
milardovich has joined #ruby
k0mpa has quit [Remote host closed the connection]
shtirlic has quit [Quit: ZNC - http://znc.in]
Mia has quit [Ping timeout: 255 seconds]
shtirlic has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
JustFly has quit [Quit: Leaving]
Dimik has joined #ruby
tomphp_ has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goatish has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoul_ has joined #ruby
ur5us has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
chocoelho has joined #ruby
jtdoncas has joined #ruby
tomphp_ has joined #ruby
bronson has joined #ruby
tomphp has quit [Ping timeout: 255 seconds]
armyriad has quit [Ping timeout: 248 seconds]
tomphp_ has quit [Read error: Connection reset by peer]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
woodruffw has quit [Read error: Connection timed out]
belmoussaoui has joined #ruby
reber has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 255 seconds]
splargle has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phate408 has quit [Ping timeout: 256 seconds]
Azure|dc has quit [Read error: Connection reset by peer]
sidx64 has quit [Quit: Textual IRC Client: www.textualapp.com]
Azure has joined #ruby
Ishido has quit [Ping timeout: 256 seconds]
drewmcmillan has joined #ruby
Ishido has joined #ruby
skweek has quit [Quit: Leaving]
jtdoncas has quit [Ping timeout: 260 seconds]
<hays_> does anyone know of a walkthrough for setting up a ruby project that will be at some point made into a gem? i'm having trouble understanding a sane project structure, etc.
<hays_> so far I have found this command : 'bundle gem project_name' which creates a boilerplate structure
woodruffw has joined #ruby
Ltem has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
moei has quit [Quit: Leaving...]
Puffball has quit [Remote host closed the connection]
woodruffw has quit [Ping timeout: 255 seconds]
Mitaka89 has joined #ruby
Mitaka89 has quit [Max SendQ exceeded]
fmcgeough has joined #ruby
fmcgeough has quit [Client Quit]
armyriad has joined #ruby
Mitaka89 has joined #ruby
oleo has quit [Remote host closed the connection]
Mitko_ has joined #ruby
conta has quit [Remote host closed the connection]
oleo has joined #ruby
Mitaka89 has quit [Remote host closed the connection]
oleo has quit [Remote host closed the connection]
Mitko_ has quit [Remote host closed the connection]
Mitaka89 has joined #ruby
Mitaka89 has quit [Max SendQ exceeded]
oleo has joined #ruby
Mitko_ has joined #ruby
raynold has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
Mitko_ has quit [Remote host closed the connection]
Mitaka89 has joined #ruby
Mitaka89 has quit [Max SendQ exceeded]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zigzig has quit [Remote host closed the connection]
zigzig has joined #ruby
jtdoncas has joined #ruby
Yzguy has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
KeyJoo has quit [Ping timeout: 276 seconds]
al2o3-cr has quit [Quit: 你变得越安静,你就越能听到]
orbyt_ has joined #ruby
r3kz has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
splargle has joined #ruby
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Client Quit]
s3nd1v0g1us has joined #ruby
s3nd1v0g1us has quit [Max SendQ exceeded]
al2o3-cr has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Ping timeout: 256 seconds]
jnyw has joined #ruby
oleo has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
oleo has joined #ruby
darkhanb has joined #ruby
akryll has joined #ruby
milardovich has joined #ruby
bronson has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
milardovich has quit [Ping timeout: 276 seconds]
s3nd1v0g1us has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 255 seconds]
Junaos has quit [Quit: ZNC - http://znc.in]
cdg has quit [Ping timeout: 260 seconds]
Yzguy has quit [Quit: Zzz...]
thejames_ has quit [Ping timeout: 255 seconds]
ogres has joined #ruby
chouhoulis has joined #ruby
ta_ has quit [Remote host closed the connection]
Junaos has joined #ruby
alfiemax has joined #ruby
Guest67525 has joined #ruby
<Guest67525> exit
Guest67525 has quit [Client Quit]
jtdoncas has quit [Ping timeout: 255 seconds]
graaff has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 256 seconds]
mtkd has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
sameerynho has quit [Ping timeout: 240 seconds]
oleo has quit [Quit: Leaving]
nadir has quit [Quit: Connection closed for inactivity]
quobo has joined #ruby
fmcgeough has joined #ruby
fmcgeough has quit [Client Quit]
milardovich has joined #ruby
thejamespinto has joined #ruby
Azure has quit [Read error: Connection reset by peer]
oleo has joined #ruby
Azure has joined #ruby
milardovich has quit [Ping timeout: 276 seconds]
Vapez has joined #ruby
elcontrastador has joined #ruby
herbmillerjr has joined #ruby
milardovich has joined #ruby
tomphp has joined #ruby
John____ has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
lalomergo has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 255 seconds]
chouhoulis has quit []
mostlybadfly has quit [Quit: Connection closed for inactivity]
darkhanb_ has joined #ruby
cdg has joined #ruby
darkhanb has quit [Ping timeout: 260 seconds]
n0m4d1c has quit [Remote host closed the connection]
jhack has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
belmoussaoui has quit [Quit: belmoussaoui]
Ishido has quit [Remote host closed the connection]
Ltem has quit [Quit: bye]
bronson has joined #ruby
zigzig has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
zigzig has joined #ruby
nadir has joined #ruby
cdg has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
Azure has quit [Read error: Connection reset by peer]
jp has joined #ruby
Azure has joined #ruby
jp has quit [Remote host closed the connection]
jp has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has quit [Ping timeout: 255 seconds]
alfiemax has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
banisterfiend has joined #ruby
pharma_joe has joined #ruby
RougeR has joined #ruby
RougeR is now known as Guest62716
alfiemax has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Ping timeout: 255 seconds]
jhack has quit [Quit: jhack]
jhack has joined #ruby
jhack has quit [Client Quit]
n0m4d1c has joined #ruby
<hays_> is it good form to make the initialize just be yield self if block_given?
amatas has quit [Quit: amatas]
<hays_> or maybe i should just use new.tap?
naprimer has quit [Quit: Leaving]
Riddell has quit [Ping timeout: 276 seconds]
akryll has left #ruby [#ruby]
Riddell has joined #ruby
k0mpa has joined #ruby
orbyt_ has joined #ruby
<hays_> hmm.. are these the same ? https://bpaste.net/show/b2fda63f800f
Yzguy has joined #ruby
<Zarthus> not identical, but close enough
<hays_> what's the difference?
<al2o3-cr> the latter will create an anonymous class that won't be used.
leitz has quit [Quit: Nappy time]
<hays_> so the latter will actually be grandchild of Struct
<al2o3-cr> hays_: well the superclass of the latter will be an anonymous class the former being Struct.
<hays_> does Struct.new create a class that is a child of struct?
<hays_> whats kind of a mystery to me is how .new is creating a class?
fnodeuser has left #ruby [#ruby]
<hays_> im used to it creating an object
<al2o3-cr> it returns a struct class
<al2o3-cr> then when you intialize it returns an instance.
phaul has joined #ruby
<hays_> so if I do foo=[1,2,3].. I can't then do Class Bar < foo;end
<hays_> but isn't foo an instance of Array?
<al2o3-cr> hays_: Struct.new doesn't return an instance.
biberu has quit []
<al2o3-cr> if you read the first two paragraphs of the Struct docs everything should become clear.
<al2o3-cr> &ri Struct.new hays_
cadillac_ has quit [Ping timeout: 256 seconds]
<hays_> im looking at it. im just confused how .new can return a class
<hays_> wouldn't it have to return an object?
pharma_joe has quit [Quit: Textual IRC Client: www.textualapp.com]
jtdoncas has joined #ruby
jacm93 has joined #ruby
<al2o3-cr> hays_: don't forget core classes are written in C.
<hays_> i thought class initializers had to return instances of that class
woodruffw has joined #ruby
jacm93 has quit [Client Quit]
<al2o3-cr> usually the do.
<al2o3-cr> *they
Keltia has quit [Read error: Connection reset by peer]
Keltia has joined #ruby
hulk_smash has joined #ruby
<hays_> so struct is doing something that would be impossible if written in ruby
<hays_> a bit of a special case
bronson has joined #ruby
<al2o3-cr> not impossible :) but yeah what you said.
hulk_smash has left #ruby [#ruby]
cadillac_ has joined #ruby
Yzguy has quit [Quit: Zzz...]
bronson has quit [Ping timeout: 256 seconds]
jtdoncas has quit [Ping timeout: 256 seconds]
<al2o3-cr> it might also help reading Class docs too.
<al2o3-cr> &ri Class.new hays_
banisterfiend has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<banisterfiend> hi can someone tell me what’s wrong with this?: grep -R fork . —include=“*.{c,h}”
<Zarthus> the smart qouotes, the fact this is #ruby, and the mac double-line thing
ZerGabriel has joined #ruby
ZerGabriel was kicked from #ruby by ruby[bot] [was banned before]
mtkd has quit [Ping timeout: 256 seconds]
mtkd has joined #ruby
<al2o3-cr> banisterfiend: grep --include=\*.{c,h} -R . -e fork
guardianx has joined #ruby