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
jtdoncas_ has joined #ruby
amatas has quit [Quit: amatas]
despai has joined #ruby
yqt has quit [Ping timeout: 248 seconds]
t0adst00l has quit [Ping timeout: 272 seconds]
jtdoncas_ has quit [Ping timeout: 240 seconds]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
<namho> Happy New Years everyone. I'm new to Ruby and was hoping for some guidance. I went through the Codecademy Ruby lesson - would the Pickaxe book, Well-Grounded, and Eloquent good places to go next?
t0adst00l has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
despai has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
elphe has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<Radar> namho: welcome :) Yes all of those places are good to go through after codecademy's course.
alfiemax has quit [Ping timeout: 264 seconds]
<namho> Radar: any recommendation on which of the 3 to start with? or any of them good?
<Radar> namho: I usually recommend Well-Grounded to people
<namho> cool, thank you!
cschneid_ has joined #ruby
<Radar> namho: I'm usually around about this time until ~7 hours from now so if you've got any questions just ask
<Radar> There's usually a bunch more people here too who can help outside of those hours
paddy_ has quit [Quit: paddy_]
cschneid_ has quit [Ping timeout: 248 seconds]
jtdoncas_ has joined #ruby
belmoussaoui has quit [Read error: Connection reset by peer]
k0mpa has quit [Ping timeout: 272 seconds]
belmoussaoui has joined #ruby
orbyt_ has quit [Max SendQ exceeded]
paddy_ has joined #ruby
k0mpa has joined #ruby
jtdoncas_ has quit [Ping timeout: 252 seconds]
paddy_ has quit [Client Quit]
belmoussaoui has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
zwliew has joined #ruby
jtdoncas_ has joined #ruby
paddy_ has joined #ruby
cremes has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
Vapez has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #ruby
guardianx has joined #ruby
cschneid_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
yokel has joined #ruby
paddy_ has quit [Ping timeout: 272 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
guardianx has quit []
cremes has quit [Quit: cremes]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
garyserj has joined #ruby
kculpis has quit [Ping timeout: 240 seconds]
jtdoncas_ has quit [Ping timeout: 272 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 240 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
cschneid_ has joined #ruby
ResidentBiscuit has joined #ruby
darkhanb has joined #ruby
nerium has joined #ruby
jrafanie has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
mtkd has quit [Ping timeout: 248 seconds]
yosafbridge has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
marr has quit [Ping timeout: 264 seconds]
nerium has quit [Quit: nerium]
yosafbridge has joined #ruby
nit3rid3 has quit [Quit: Leaving]
AJA4350 has quit [Quit: AJA4350]
clemens3 has quit [Ping timeout: 240 seconds]
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Ping timeout: 268 seconds]
nerium has joined #ruby
cschneid_ has joined #ruby
eightlimbed has joined #ruby
Theo_ has quit [Read error: Connection reset by peer]
nerium has quit [Ping timeout: 248 seconds]
woodruffw has quit [Ping timeout: 256 seconds]
woodruffw has joined #ruby
woodruffw has joined #ruby
alfiemax has joined #ruby
jtdoncas_ has joined #ruby
pecan has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
John__ has quit [Read error: Connection reset by peer]
pilne has quit [Quit: Quitting!]
cschneid_ has quit [Ping timeout: 248 seconds]
cschneid_ has joined #ruby
obzidian has quit [Ping timeout: 248 seconds]
obzidian has joined #ruby
Theo_ has joined #ruby
minimalism has quit [Quit: minimalism]
eightlimbed has quit [Ping timeout: 268 seconds]
minimalism has joined #ruby
garyserj has quit []
alfiemax has joined #ruby
cschneid_ has quit [Ping timeout: 263 seconds]
minimalism has quit [Quit: minimalism]
alfiemax has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Read error: Connection reset by peer]
uZiel has joined #ruby
ResidentBiscuit has joined #ruby
zwliew has quit [Quit: Connection closed for inactivity]
ur5us has quit [Remote host closed the connection]
ResidentBiscuit has quit [Quit: zinged canada rekt]
cschneid_ has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has joined #ruby
mtkd has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
dviola has quit [Quit: WeeChat 2.0.1]
alfiemax has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
RickHull has quit [Quit: Page closed]
SirFunk has quit [Remote host closed the connection]
cschneid_ has quit [Ping timeout: 264 seconds]
cschneid_ has joined #ruby
leafyleong has joined #ruby
theRealGent has quit [Ping timeout: 252 seconds]
SirFunk has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
leafyleong has quit [Client Quit]
capin has quit [Quit: WeeChat 2.0.1]
exchgr has quit [Ping timeout: 248 seconds]
cschneid_ has quit [Ping timeout: 268 seconds]
exchgr has joined #ruby
elphe has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
gix has joined #ruby
gix- has quit [Ping timeout: 248 seconds]
xcesariox has joined #ruby
<xcesariox> guys i need help
<xcesariox> when i did `rails s' to run server i keep getting Could not find rake-12.3.0 in any of the sources
<xcesariox> Run `bundle install` to install missing gems.
<xcesariox> anyone knows how to fix this?
<xcesariox> i already have rake 12.3.0
sundhell is now known as sundhell_away
cschneid_ has joined #ruby
kculpis has joined #ruby
<Radar> xcesariox: Did you try running `bundle install`?
xcesariox has quit [Read error: No route to host]
iamarun has joined #ruby
obzidian has quit [Quit: Lost terminal]
elphe has quit [Ping timeout: 248 seconds]
capin has joined #ruby
capin has quit [Client Quit]
anisha has joined #ruby
capin has joined #ruby
capin1 has joined #ruby
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
cloaked1 has joined #ruby
ledestin has joined #ruby
elphe has joined #ruby
mikhael_k33hl has joined #ruby
cschneid_ has quit [Ping timeout: 260 seconds]
<mikhael_k33hl> I have a class that creates a database object for sqlite3, should I make it a singleton since it will be used by multiple threads?
howdoi has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
Theo_ has quit [Ping timeout: 256 seconds]
cschneid_ has joined #ruby
<elomatreb> The class is already a singleton object, which you can use for this
<elomatreb> mikhael_k33hl: ^
<mikhael_k33hl> elomatreb: you mean sqlite3?
<elomatreb> Your class that creates the connection. Classes in Ruby are also objects
<mikhael_k33hl> elomatreb: can you elaborate on that one? I'm a bit confused with "The class is already a singleton object
aupadhye has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
cloaked1 has quit [Remote host closed the connection]
cschneid_ has quit [Ping timeout: 248 seconds]
KeyJoo has joined #ruby
cloaked1 has joined #ruby
cloaked1 has quit [Changing host]
cloaked1 has joined #ruby
<mikhael_k33hl> elomatreb: I see, thanks I'll try that one
sagax has quit [Quit: Konversation terminated!]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrp93 has joined #ruby
milardovich has joined #ruby
DmitryBochkarev has joined #ruby
milardovich has quit [Remote host closed the connection]
DmitryBochkarev has quit [Client Quit]
rippa has joined #ruby
milardovich has joined #ruby
cloaked1 has quit [Quit: Leaving]
capin1 has quit [Quit: WeeChat 2.0.1]
elphe has quit [Ping timeout: 268 seconds]
sundhell_away is now known as sundhell
<mikhael_k33hl> elomatreb: Do I really need to make the class a singleton though? hmmm
elphe has joined #ruby
t0adst00l has quit [Ping timeout: 272 seconds]
<elomatreb> That really depends on your usecase
abraham_ has joined #ruby
darkhanb has joined #ruby
<mikhael_k33hl> elomatreb: say I use the Ruby SIngleton Module, how do I change the value of the database during unit tests?
<mikhael_k33hl> since the new method is now private
<elomatreb> You can bypass access restrictions with #send (e.g. `some_instance.send(:private_method, "some_arg")`)
abraham_ has quit [Quit: abraham_]
cschneid_ has joined #ruby
t0adst00l has joined #ruby
jtdoncas has joined #ruby
jtdoncas_ has quit [Ping timeout: 252 seconds]
r3kz has joined #ruby
capin1 has joined #ruby
kculpis has quit [Ping timeout: 240 seconds]
jtdoncas_ has joined #ruby
ur5us has joined #ruby
jtdoncas has quit [Ping timeout: 252 seconds]
capin1 has quit [Quit: WeeChat 2.0.1]
capin1 has joined #ruby
Dimik has quit [Ping timeout: 252 seconds]
bokayio has quit [Ping timeout: 240 seconds]
deafscribe has quit [Ping timeout: 265 seconds]
bokayio has joined #ruby
<mikhael_k33hl> elomatreb: I got a symbol in my class that I need to change during unit test, is there any way to do it or do I have to define a getter?
<elomatreb> Depends on where you assigned it, there is instance_variable_set for instance variables
rabajaj has joined #ruby
<mikhael_k33hl> elomatreb: i'm not sure if I'm doing this right though: https://gist.github.com/marzdgzmn/9bf6ccf1ab85c2a5ae652e8390a9d40b
TinkerTyper has quit [Read error: Connection reset by peer]
amatas has joined #ruby
<elomatreb> That assignment on line 11 doesn't look right, doesn't that give a syntax error?
<elomatreb> You can't assign to a symbol like that
TinkerTyper has joined #ruby
<mikhael_k33hl> oh yeah, I really should just use constant then hehe
kapil___ has quit [Quit: Connection closed for inactivity]
Freshnuts has joined #ruby
knightblader has joined #ruby
conta has joined #ruby
jnyw has joined #ruby
jenrzzz has joined #ruby
ta_ has quit [Remote host closed the connection]
treat217 has joined #ruby
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #ruby
knightblader has quit [Quit: WeeChat 1.9.1]
treat217 has left #ruby [#ruby]
mtkd has quit [Ping timeout: 260 seconds]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
mtkd has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
Illianthe has joined #ruby
<mikhael_k33hl> How do I initialize the instance inside the singleton for testing?
<mikhael_k33hl> oh okay just have to invoke Class.instance
<livcd> any promos/discounts/sales going on for recommended Ruby books ?
nofxx has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
c0ncealed has quit [Remote host closed the connection]
pwnd_nsfw has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 264 seconds]
jtdoncas_ has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
c0ncealed has joined #ruby
<mikhael_k33hl> Since I have a singleton for database access, how do I ensure that the database get's closed when the program is closed since that connection will always be open as long as the program is runjning
Sauvin has quit [Read error: Connection reset by peer]
LocaMocha has joined #ruby
InfinityFye has joined #ruby
InfinityFye has left #ruby [#ruby]
Freshnuts has quit [Quit: Leaving]
nowhere_man has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
ta_ has joined #ruby
capin1 has quit [Quit: WeeChat 2.0.1]
ur5us has quit [Remote host closed the connection]
MrSparkle has left #ruby [#ruby]
claudiuinberlin has joined #ruby
t0adst00l has quit [Ping timeout: 272 seconds]
randomstrangerb has quit [Ping timeout: 264 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
randomstrangerb has joined #ruby
nathani has quit [Read error: Connection reset by peer]
Gabemo has quit [Ping timeout: 240 seconds]
nathani has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
Gabemo has joined #ruby
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
randomstrangerb has quit [Ping timeout: 252 seconds]
cschneid_ has quit [Remote host closed the connection]
randomstrangerb has joined #ruby
mikecmpbll has joined #ruby
nerium has joined #ruby
jenrzzz has joined #ruby
vondruch has joined #ruby
t0adst00l has joined #ruby
ur5us has joined #ruby
marr has joined #ruby
<mikhael_k33hl> what's the best way to ensure a method is run when program terminates?
elphe has quit [Ping timeout: 248 seconds]
milardovich has quit [Read error: Connection reset by peer]
guardian has quit [Quit: Coyote finally caught me]
m0x00 has joined #ruby
elphe has joined #ruby
bkxd has joined #ruby
cschneid_ has joined #ruby
bkxd has quit [Max SendQ exceeded]
Beams has joined #ruby
guardian has joined #ruby
guardian has quit [Client Quit]
reber has joined #ruby
ren0v0 has joined #ruby
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
<ren0v0> Hi, i'm trying to install ruby via RVM, but its just freezing on "Installing required packages: gawk, libyaml-dev, libsqlite3-dev," ?
bkxd has joined #ruby
drewmcmillan has joined #ruby
drewmcmillan has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
k0mpa has quit [Remote host closed the connection]
nerium has quit [Quit: nerium]
qba73 has joined #ruby
<apeiros> mikhael_k33hl: there's Kernel#at_exit
<apeiros> ren0v0: uh, maybe run it with `set -x` (I hope that's the right command). i.e. `set -x` then `rvm install your_ruby`
<ren0v0> apeiros, that's for interactive stuff right?
<apeiros> that's for your shell
<ren0v0> because i found the issue and it was related, in the logfile it had a popup for another package that needed confirmation
<ren0v0> so, RVM doesn't handle this well at all
heliumk has joined #ruby
<apeiros> it's quite possible that rvm doesn't properly shield one from interactive sections, yes. I'd ask over in #rvm what to do about that
tvw has joined #ruby
banisterfiend has joined #ruby
beauby has quit [Quit: leaving]
beauby has joined #ruby
cschneid_ has quit [Ping timeout: 272 seconds]
cschneid_ has joined #ruby
ur5us has joined #ruby
jaruga has joined #ruby
ur5us has quit [Remote host closed the connection]
beauby has left #ruby [#ruby]
beauby has joined #ruby
swat2 has quit [Ping timeout: 268 seconds]
sundhell is now known as sundhell_away
beauby has quit [Quit: leaving]
beauby has joined #ruby
t0adst00l has quit [Remote host closed the connection]
t0adst00l has joined #ruby
Cavallari has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
heliumk has quit [Quit: heliumk]
clemens3 has joined #ruby
beauby has left #ruby [#ruby]
beauby has joined #ruby
amatas has quit [Quit: amatas]
qba73 has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Quit: dionysus69]
amatas has joined #ruby
t0adst00l has quit [Remote host closed the connection]
qba73 has joined #ruby
t0adst00l has joined #ruby
marens has quit [Quit: No Ping reply in 180 seconds.]
tastygradient has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
guardianx has joined #ruby
nchambers has quit [Ping timeout: 272 seconds]
<mikhael_k33hl> apeiros: what if the program get closed unexpectedly will theh at_exit still run?
<apeiros> no
<apeiros> depending on how unexpectedly a program terminates, there's little to nothing you can do anyway
<apeiros> you can set up a global begin/rescue/end to rescue all ruby related exceptions and with rescue Interrupt, also a ctrl-c termination
nchambers has joined #ruby
<apeiros> the latter can be caught via trap("SIGINT") as well
tastygradient has quit [Ping timeout: 248 seconds]
biberu has joined #ruby
<apeiros> I'm actually mistaken. at_exit will also be run in case of unhandled exceptions.
Mortomes|Work has joined #ruby
<apeiros> but that's still only one kind of "unexpected termination"
raynold has quit [Quit: Connection closed for inactivity]
elphe has quit [Ping timeout: 248 seconds]
zwliew has joined #ruby
guardian has joined #ruby
drewmcmillan has joined #ruby
drewmcmillan has quit [Client Quit]
elphe has joined #ruby
bkxd_ has joined #ruby
bkxd_ has quit [Max SendQ exceeded]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
guardian has quit [Quit: Coyote finally caught me]
beauby has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 272 seconds]
bkxd_ has quit []
guardian has joined #ruby
oleo has quit [Remote host closed the connection]
elphe has joined #ruby
dionysus69 has joined #ruby
ferr has joined #ruby
guardian has quit [Quit: Coyote finally caught me]
cschneid_ has quit [Ping timeout: 265 seconds]
guardianx has quit []
ferr has left #ruby [#ruby]
guardian has joined #ruby
cschneid_ has joined #ruby
oleo has joined #ruby
nowhere_man has joined #ruby
iamarun has quit [Remote host closed the connection]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
tvw has quit [Ping timeout: 255 seconds]
aupadhye has quit [Ping timeout: 272 seconds]
tcopeland has quit [Quit: tcopeland]
zautomata has joined #ruby
Psybur has quit [Ping timeout: 248 seconds]
jnyw has quit [Quit: WeeChat 2.0.1]
paddy_ has joined #ruby
cschneid_ has quit [Ping timeout: 265 seconds]
drewmcmillan has joined #ruby
TomyWork has joined #ruby
sundhell_away is now known as sundhell
randomstrangerb has quit [Ping timeout: 255 seconds]
randomstrangerb has joined #ruby
AJA4350 has joined #ruby
heliumk has joined #ruby
plexigras has quit [Ping timeout: 252 seconds]
plexigras has joined #ruby
cschneid_ has joined #ruby
heliumk has quit [Quit: heliumk]
Pierreb|home has joined #ruby
alfiemax has quit [Remote host closed the connection]
paddy_ has quit [Quit: paddy_]
randomstrangerb has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
randomstrangerb has joined #ruby
Psybur has joined #ruby
banisterfiend has joined #ruby
bruce_lee has joined #ruby
ur5us has joined #ruby
InfinityFye has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0adst00l has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 268 seconds]
qba73 has quit [Remote host closed the connection]
uZiel has quit [Ping timeout: 272 seconds]
qba73 has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
InfinityFye has quit [Ping timeout: 240 seconds]
InfinityFye has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
t0adst00l has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
SirFunk has quit [Quit: ZNC - http://znc.in]
SirFunk has joined #ruby
tcopeland has joined #ruby
cschneid_ has joined #ruby
drewmcmillan has joined #ruby
t0adst00l has quit [Ping timeout: 272 seconds]
qba73 has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
minimalism has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 250 seconds]
crova has joined #ruby
jeffreylevesque has quit [Ping timeout: 260 seconds]
randomstrangerb has quit [Ping timeout: 260 seconds]
randomstrangerb has joined #ruby
paddy_ has joined #ruby
k0mpa has joined #ruby
jeffreylevesque has joined #ruby
cremes has joined #ruby
zwliew has quit [Quit: Connection closed for inactivity]
alfiemax has joined #ruby
vichib has quit [Ping timeout: 240 seconds]
jeffreylevesque has quit [Ping timeout: 264 seconds]
bmurt has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
cschneid_ has joined #ruby
paddy_ has quit [Quit: paddy_]
pastorinni has joined #ruby
paddy_ has joined #ruby
paddy_ has quit [Client Quit]
Mortomes|Work has quit [Ping timeout: 260 seconds]
Cavallari has quit [Quit: Cavallari]
beauby has joined #ruby
beauby has quit [Client Quit]
sunya7a has joined #ruby
zwliew has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
iamarun has joined #ruby
uZiel has joined #ruby
cschneid_ has joined #ruby
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
gnufied has joined #ruby
AgentVenom has joined #ruby
Ltem has joined #ruby
mikhael_k33hl has quit [Quit: Page closed]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
pastorinni has quit [Remote host closed the connection]
cdg has joined #ruby
InfinityFye has quit [Ping timeout: 248 seconds]
nadir has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
jeffreylevesque has joined #ruby
jobewan has joined #ruby
Psybur_ has joined #ruby
Psybur has quit [Disconnected by services]
Azure|dc has joined #ruby
Azure has quit [Read error: Connection reset by peer]
MrArton has joined #ruby
Psybur_ is now known as Psybur
Psybur has quit [Changing host]
Psybur has joined #ruby
alfiemax has joined #ruby
<MrArton> Do you know how to but labels in ruby's code pls? (sorry for my english)
<apeiros> MrArton: what do you mean by labels? C goto style labels?
<MrArton> Yes
RealFrimaire has joined #ruby
<apeiros> ruby does not have goto
<MrArton> *put, not but
<apeiros> the closest you can have is Kernel#throw and #catch
<apeiros> &ri Kernel#throw
yqt has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
<apeiros> &ri Kernel#catch
<apeiros> the latter link is better. contains an example.
RealFrimaire has quit [Client Quit]
<MrArton> Ok, thanks you apeiros and derpy
nowhere_man has quit [Remote host closed the connection]
sawdustofmind has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
<apeiros> derpy is a bot ;-)
nowhere_man has joined #ruby
<MrArton> Ok -_-
<MrArton> Thanks you bot
exchgr has quit [Quit: ZNC - http://znc.in]
exchgr has joined #ruby
sawdustofmind has left #ruby [#ruby]
iamarun has quit [Remote host closed the connection]
dviola has joined #ruby
Ishido has quit [Remote host closed the connection]
sawdustofmind has joined #ruby
<c-c> I'm back to working on my little game engine. I'm in the process of making it into a open source project. I've tested the simple base and its run over 20 billion fames without crashing (52 hours of processor time). I'm convinced that to get anything happening I need +4 times more velocity for the project. I'm considering things like rewards for best contributors, seen any ruby projects that do that?
Ishido has joined #ruby
sawdustofmind has left #ruby [#ruby]
ta_ has quit [Remote host closed the connection]
sawdustofmind has joined #ruby
sawdustofmind has left #ruby [#ruby]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lightstalker has joined #ruby
jobewan has quit [Ping timeout: 248 seconds]
bmurt has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
Tempesta has quit [Quit: See ya!]
dionysus69 has joined #ruby
cschneid_ has quit [Ping timeout: 276 seconds]
chocoelho has joined #ruby
chocoelho has quit [Client Quit]
jrafanie has joined #ruby
jrafanie has quit [Client Quit]
cschneid_ has joined #ruby
voker57 has quit [Remote host closed the connection]
krawchyk has joined #ruby
Hien has quit [K-Lined]
sawdustofmind1 has joined #ruby
sawdustofmind1 has left #ruby [#ruby]
sawdustofmind1 has joined #ruby
jrafanie has joined #ruby
deafscribe has joined #ruby
wennefer0_ has joined #ruby
wennefer0_ has quit [Changing host]
wennefer0_ has joined #ruby
pastorinni has joined #ruby
qba73 has quit [Ping timeout: 240 seconds]
miskatonic has joined #ruby
polishdub has joined #ruby
jobewan has joined #ruby
voker57 has joined #ruby
voker57 has quit [Changing host]
voker57 has joined #ruby
wennefer0_ is now known as wennefer0
qba73 has joined #ruby
polishdub has left #ruby [#ruby]
xfbs has joined #ruby
fifty05 has joined #ruby
pastorinni has quit [Ping timeout: 268 seconds]
<MrArton> Can someone explain me how catch and throw works, I do not understand.
<MrArton> Et si quelqu'un peut le faire en francais ca serait cool
banisterfiend has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
<apeiros> MrArton: there's a french ruby channel
<apeiros> basically you set up a catch, and within the block of that catch, you can throw. throw will return to the catch.
wennefer0 has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
<apeiros> if you know begin/rescue/end + raise - exactly the same. just slightly different syntax. and you can throw about anything, not just exceptions.
<MrArton> Ok, thx
miskatonic has quit [Remote host closed the connection]
miskaton` has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
miskaton` has quit [Client Quit]
miskatonic has joined #ruby
<havenwood> c-c: Share a link to the code?
cschneid_ has joined #ruby
MrArton has quit [Quit: Page closed]
<c-c> havenwood: I need to clean it up still and make the github
<havenwood> c-c: ah, cool
<c-c> I'm 95% certain on the license, too
<c-c> Hm, need to make sure its ok to have rewards with github and this GPL 3 license, too
<c-c> havenwood: ever contributed for reward, or "competed" for a reward in a open source project?
alfiemax has joined #ruby
xfbs has quit []
kculpis has joined #ruby
<havenwood> c-c: Nope, I've never had a reward.
<havenwood> c-c: I've won stuff at hackathons, but never around open source.
<dminuoso> havenwood never had a reward!
<havenwood> c-c: I know folk who did the Github challenge for a shirt - that's the only example I can think of.
<havenwood> dminuoso: Never. ;-)
<dminuoso> Not sure whether that speaks for his skills, or just his lack of participation in such adventures.
<dminuoso> =P
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpb_ has joined #ruby
* havenwood demands a reward
<dminuoso> I'd send you a cookie, but I'd eat it before it gets wrapped.
<apeiros> 🍪
<apeiros> and damn, the emoji search is localized. searched for "cookie", turned up empty. searched manually until I figured I should have searched for "keks" :-S
<dminuoso> apeiros: You too should get Karabiner
<dminuoso> λ
<dminuoso> ∀ ∃
<apeiros> meh
<dminuoso> =)
* c-c hands havenwood a medal
<c-c> havenwood: You are hereby heralded with an irc medal as a reward for your help and services.
<dminuoso> Super easy to use :)
<dminuoso> Or customize
<apeiros> dminuoso: |H hilbert numbers? is that a thing?
<dminuoso> apeiros: quaternions
<apeiros> oh, hamilton
<dminuoso> Yeah
<apeiros> or at least I guess that's the source for the symbol resembling an H
tlaxkit has joined #ruby
jobewan has quit [Quit: jobewan]
fifty05 has quit [Ping timeout: 240 seconds]
zwliew has quit [Quit: Connection closed for inactivity]
Dimik has joined #ruby
Tempesta has joined #ruby
jobewan has joined #ruby
yeticry has quit [Ping timeout: 248 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
<dminuoso> apeiros: Thats my assumption as well, but I think its a safe bet.
chocoelho has joined #ruby
vipaca has joined #ruby
whippythellama has joined #ruby
<dminuoso> I guess since ℚ was taken already, ℍ was a logical choice
vipaca has quit [Client Quit]
vipaca has joined #ruby
<dminuoso> And next one added apeiros
<dminuoso> ¯\_(ツ)_/¯
<dminuoso> =)
<dminuoso> karabiner-elements is awesome.
InfinityFye has joined #ruby
rabajaj has quit [Quit: Leaving]
uZiel has quit [Ping timeout: 272 seconds]
kristian_on_linu has joined #ruby
<kristian_on_linu> hi all
<kristian_on_linu> I installed rvm and jekyll, now jekyll does not seem installed?
<kristian_on_linu> I know this is probably something really simple that I must do
zautomata has quit [Ping timeout: 256 seconds]
kapil___ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qba73 has quit [Remote host closed the connection]
<apeiros> kristian_on_linu: some possible reasons: a) you installed jekyll under a different ruby than you try to run it, b) you are in a directory with a Gemfile
Azure|dc has quit [Read error: Connection reset by peer]
qba73 has joined #ruby
zautomata has joined #ruby
bmurt has joined #ruby
Azure has joined #ruby
<kristian_on_linu> hi apeiros
<apeiros> hi
<kristian_on_linu> I found two Gemfiles and renamed them both ... the problem persists
<kristian_on_linu> and I'm 90% sure I ran jekyll in that exact directory
dionysus69 has quit [Quit: dionysus69]
<apeiros> kristian_on_linu: can you please do the following and gist the session? `cd ~; rvm list; gem install jekyll; jekyll -v`
pastorinni has joined #ruby
pastorinni has quit [Remote host closed the connection]
conta has quit [Quit: conta]
pastorinni has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kristian_on_linu> is paste.ee okay?
<apeiros> yes. generally gist.github.com is preferred
<kristian_on_linu> https://paste.ee/p/buCkC
nadir has joined #ruby
<kristian_on_linu> I understand that gist is cool, but I never used it ... and I don't want you to spend time on helping with that too ;)
<apeiros> it'd be pretty bad if you'd need help with it :-p
<apeiros> ok, output of these commands please: `which ruby`, `which gem`, `gem env`
Barrt has quit [Ping timeout: 252 seconds]
<apeiros> rvm installations usually don't want to install into global dirs
<apeiros> but your gem command does. and without sudo, you can't.
<havenwood> Yeah, something is amiss because that's a 2.3 ABI gem command and a 2.4 Ruby selected.
<apeiros> that too. didn't even look at that :D
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
<havenwood> kristian_on_linu: Also show us?: echo $PATH
raynold has joined #ruby
<havenwood> kristian_on_linu: And: which -a gem
<apeiros> oh, nice. TIL -a
cagomez has joined #ruby
qba73 has quit []
<kristian_on_linu> both are here: https://paste.ee/p/rrKdF
Barrt has joined #ruby
paddy_ has joined #ruby
<apeiros> kristian_on_linu: your rvm bin is too late in the path
<apeiros> you use system ruby, not rvm ruby.
cloaked1 has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<kristian_on_linu> so what should I do?
linduxed has quit [Quit: WeeChat 2.0.1]
<apeiros> fix your PATH. which is usually defined in ~/.profile, ~/.bash_profile or similar
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<kristian_on_linu> this is my .profile: https://paste.ee/p/Kg55b
darkhanb has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
<apeiros> line 24 adds the rvm bin dir *after* all other. PATH is search left to right. first wins.
paddy_ has quit [Quit: paddy_]
ski7777 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<dminuoso> And another day with RVM being a problem!
<dminuoso> This should be a thing for a doctor: "You have a headache? Have you tried uninstalling RVM?"
John__ has joined #ruby
zautomata has quit [Ping timeout: 248 seconds]
zautomata1 has joined #ruby
elphe has quit [Quit: Lost terminal]
cdg has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
rubycoder37 has joined #ruby
<rubycoder37> hi
<rubycoder37> does ruby 2.5.0 ships with bundler now?
ski7777 has joined #ruby
<kristian_on_linu> this updated .profile seems to do the trick: https://paste.ee/p/k20Iu
<kristian_on_linu> dminuoso: you don't recommend using rvm?
<dminuoso> kristian_on_linu: I dont have anything against rvm, but if you dont have any good reasons to use rvm or rbenv specifically, you are almost always better off with ruby-install for installing ruby versions, and chruby for switching between multiple ruby versions.
<apeiros> dminuoso: so rbenv and co don't have a problem when you b0rk your PATH? how?
<dminuoso> apeiros: Heh =P
<tcopeland> rubycoder37: no, you still need to install bundler after installing ruby 2.5.0
cdg has quit [Remote host closed the connection]
marxarelli has joined #ruby
<tcopeland> it was going to be in there but that was reverted shortly before the release https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61416
sspreitz has quit [Ping timeout: 272 seconds]
heliumk has joined #ruby
heliumk has quit [Client Quit]
jrp93 has quit [Ping timeout: 265 seconds]
<kristian_on_linu> dminuoso: I'm a very low level user ... I just do jekyll and related task
<kristian_on_linu> every guide I've seen says rvm makes it all easier ... but if that's not the case, I will avoid it next time
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kristian_on_linu> apeiros: I think it works now, thanks
<apeiros> yw
<dminuoso> kristian_on_linu: Dont worry too much about it, rvm is fine until you start using rvm commands that do.. things.
dinfuehr has quit [Ping timeout: 268 seconds]
vipaca has joined #ruby
alfiemax has quit [Remote host closed the connection]
romankapitonov has joined #ruby
<rubycoder37> what a shame, I was expecting bundler to be included on 2.5.0
guille-moe has joined #ruby
<dminuoso> apeiros: So did you manage a release by the way?
<apeiros> refresh my memory - a release of what?
beauby has joined #ruby
dinfuehr has joined #ruby
alfiemax has joined #ruby
<dminuoso> Of some mysterious framework.
<apeiros> ah
<apeiros> no :(
<dminuoso> :(
sspreitz has joined #ruby
vichib has joined #ruby
<dminuoso> I kept fireworks from 3 days ago extra for this.
<apeiros> postponed in favor of doing a mobile website for the spa I do spare time work
<dminuoso> You give massages?
<apeiros> I get massages
<apeiros> saves me a couple grand a year doing their web stuff :)
<dminuoso> I have a spa right next to my apartment.
<dminuoso> Neato
mikecmpb_ has quit [Ping timeout: 264 seconds]
<apeiros> ok, granted, I wouldn't go that often if I didn't get it for free.
<dminuoso> Just wordpress it up and use the rest of the time to get.. a massage...
TomyLobo has joined #ruby
<apeiros> no, hand crafted. target for the mobile site is to have it <200KB for initial load and viewable with low-res images. post-load is high-res images and probably webfont. maybe sound, not sure on that one though, since I hate websites with sound :)
oetjenj has joined #ruby
<rubycoder37> are they going to rewrite the bundler tests for merging into ruby?
conta has joined #ruby
<rubycoder37> bundler uses rspec for tests
[Butch] has joined #ruby
<tcopeland> hm, interesting, I don’t know
[Butch]_ has joined #ruby
eckhardt has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[Butch] has quit [Ping timeout: 264 seconds]
vipaca has joined #ruby
cdg has joined #ruby
beauby has quit [Ping timeout: 248 seconds]
zautomata2 has joined #ruby
zautomata1 has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby
[Butch]_ has quit [Quit: Textual IRC Client: www.textualapp.com]
[Butch] has joined #ruby
karu_ has joined #ruby
karu_ has left #ruby [#ruby]
Beams has quit [Quit: .]
workmad3 has joined #ruby
nowhere_man has quit [Ping timeout: 255 seconds]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zautomata3 has joined #ruby
nowhere_man has joined #ruby
nwm has joined #ruby
vipaca has joined #ruby
randomstrangerb has quit [Ping timeout: 255 seconds]
<nwm> is there a way to have a rspec RakeTask with prereqs in a Rakefile?
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zautomata2 has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
randomstrangerb has joined #ruby
rubycoder37 has left #ruby [#ruby]
hahuang65 has joined #ruby
<dminuoso> nwm: what kind of prereqs are you talking about?
<nwm> run a task before the RakeTask
<dminuoso> nwm: You can use Rake::Task#enhance
orbyt_ has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has quit [Client Quit]
jamesaxl has joined #ruby
jaruga has quit [Ping timeout: 265 seconds]
hahuang65 has joined #ruby
zautomata4 has joined #ruby
zautomata3 has quit [Ping timeout: 248 seconds]
vipaca has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zautomata4 has quit [Quit: WeeChat 1.7]
<nwm> thanks
SeepingN has joined #ruby
ur5us has joined #ruby
kristian_on_linu has quit [Quit: WeeChat 1.4]
ta_ has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
beauby has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sent-hil has joined #ruby
vipaca has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocoelho has quit [Quit: chocoelho]
ta_ has joined #ruby
[Butch] has quit [Read error: Connection reset by peer]
nit3rid3 has joined #ruby
vipaca has joined #ruby
[Butch] has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
vipaca has quit [Client Quit]
ledestin has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 268 seconds]
sameerynho has joined #ruby
mtkd has joined #ruby
orbyt_ has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
alex1 has joined #ruby
alex1 has quit [Client Quit]
DmitryBochkarev has joined #ruby
chrisgopher has joined #ruby
cdg has quit [Remote host closed the connection]
drewmcmillan has joined #ruby
chrisgopher has quit [Client Quit]
conta has quit [Quit: conta]
chocoelho has joined #ruby
alfiemax_ has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
alex``` has joined #ruby
alex``` has quit [Client Quit]
alex``` has joined #ruby
S007 has quit [Ping timeout: 276 seconds]
DaniG2k has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
vipaca has joined #ruby
cdg has joined #ruby
goepsilongo has quit [Quit: Textual IRC Client: www.textualapp.com]
anisha has quit [Quit: This computer has gone to sleep]
alfiemax has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
xfbs has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vipaca has joined #ruby
LocaMocha has quit [Read error: Connection reset by peer]
cdg has joined #ruby
jenrzzz has joined #ruby
codepete has joined #ruby
jenrzzz has quit [Client Quit]
hahuang65 has quit [Quit: WeeChat 2.0.1]
sameerynho has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby
mikecmpb_ has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 248 seconds]
cremes has quit [Quit: cremes]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
tectonic has joined #ruby
mikecmpbll has joined #ruby
mikecmpb_ has quit [Ping timeout: 255 seconds]
xfbs has quit [Read error: Connection reset by peer]
nerium has joined #ruby
vipaca has joined #ruby
heliumk has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
vipaca has quit [Client Quit]
lytol_ has joined #ruby
tectonic has quit []
heliumk has quit [Client Quit]
chocoelho has quit [Quit: chocoelho]
vipaca has joined #ruby
ctp_ has joined #ruby
pastorinni has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vipaca has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 264 seconds]
pilne has joined #ruby
Puffball has quit [Ping timeout: 240 seconds]
tlaxkit has quit [Quit: ¡Adiós!]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
DLSteve_ has joined #ruby
ur5us has joined #ruby
t0adst00l has joined #ruby
Vapez has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitz has joined #ruby
desperek has joined #ruby
<desperek> hi
<desperek> sooo
<desperek> i have a problem
<desperek> i want to use mysql2 but bundler keeps installing mysql2 for mingw (windows; x64)
<desperek> mingw version doesn't work and produces and error with require (rails so i think it may be different thing)
<desperek> is that still a thing?
<desperek> yea it seems :/
drewmcmillan has joined #ruby
alex``` has quit [Quit: WeeChat 1.9]
graft has quit [Ping timeout: 268 seconds]
cagomez has quit [Remote host closed the connection]
conta has joined #ruby
Psybur has quit [Ping timeout: 248 seconds]
conta has quit [Ping timeout: 248 seconds]
Kilo`byte has joined #ruby
drewmcmi_ has joined #ruby
banisterfiend has joined #ruby
drewmcmillan has quit [Ping timeout: 240 seconds]
techn1cs has quit [Remote host closed the connection]
drewmcmillan has joined #ruby
drewmcmi_ has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
orbyt_ has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
tcopeland has quit [Quit: tcopeland]
jnyw has joined #ruby
cagomez has joined #ruby
Riddell has quit [Ping timeout: 252 seconds]
tomphp has joined #ruby
Riddell has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
mikecmpb_ has joined #ruby
cagomez has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #ruby
sundhell is now known as sundhell_away
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
marxarelli is now known as marxarelli|afk
drcode has joined #ruby
nofxx has quit [Read error: Connection reset by peer]
drcode has quit [Remote host closed the connection]
nofxx_ has joined #ruby
ta_ has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
Kilo`byte has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ta_ has joined #ruby
jtdoncas_ has joined #ruby
DaniG2k has joined #ruby
Kilo`byte has joined #ruby
Riddell has quit [Changing host]
Riddell has joined #ruby
drcode has joined #ruby
ta_ has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
DaniG2k has quit [Ping timeout: 240 seconds]
Ltem has quit [Quit: good night]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
tomphp has joined #ruby
cagomez has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
Psybur has joined #ruby
pastorinni has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
kinduff has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
samort7 has joined #ruby
<samort7> What does it mean if a hash is initialized like this: def api_hash locale=Locale.first ?
chocoelho has joined #ruby
<samort7> What's the locale=Locale.first part doing?
tomphp has joined #ruby
bmurt has joined #ruby
sammi`_ has joined #ruby
DaniG2k has joined #ruby
despai has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
tcopeland has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sammi` has quit [Quit: Lost terminal]
DaniG2k has quit [Ping timeout: 248 seconds]
John__ has quit [Read error: Connection reset by peer]
async_prince has quit [Ping timeout: 265 seconds]
async_prince has joined #ruby
bmurt has joined #ruby
RovingWriter is now known as talntid
talntid has quit [Changing host]
talntid has joined #ruby
jokke has quit [Ping timeout: 264 seconds]
jokke has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
alfiemax has joined #ruby
DaniG2k has joined #ruby
<havenwood> samort7: Check: Locale.method(:first).source_location
<havenwood> samort7: Not sure what you mean by "what does it mean" but it seems you're saying the Locale::first returns a Hash? Are you wondering how that gem implements ::first?
jamesaxl has quit [Quit: WeeChat 1.9.1]
kith has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
ta_ has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
<samort7> I'm very new to Ruby, are those optional parameters being passed to the Hash?
<samort7> def some_hash words_I_don't_know { . . . }
<samort7> What does the words_I_don't_know part do?
<nwm> it sets an param/arg
<nwm> like foo=bar
<nwm> Locale is a class as you can tell by the capital L
<nwm> (should be anyways)
<samort7> nvm: is it like a default key-value pair for the hash?
<nwm> yes
<samort7> ah ok
DaniG2k has quit [Quit: leaving]
beauby has quit [Ping timeout: 250 seconds]
biberu has quit []
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 260 seconds]
jeffreylevesque has quit [Ping timeout: 255 seconds]
hahuang65 has quit [Ping timeout: 264 seconds]
krawchyk has quit [Ping timeout: 256 seconds]
ewaters has joined #ruby
jobewan has quit [Ping timeout: 268 seconds]
sawdustofmind1 has left #ruby [#ruby]
QualityAddict has quit [Ping timeout: 265 seconds]
lytol_ has quit [Remote host closed the connection]
vipaca has joined #ruby
ta_ has joined #ruby
ctp_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
QualityAddict has joined #ruby
mistergibson has quit [Quit: Leaving]
r3kz has quit [Quit: Connection closed for inactivity]
byte512 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moei has quit [Quit: Leaving...]
mikecmpbll has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpb_ has quit [Ping timeout: 248 seconds]
alex``` has joined #ruby
nerium has quit [Quit: nerium]
nerium has joined #ruby
InfinityFye has quit [Read error: Connection reset by peer]
jobewan has joined #ruby
iszak has quit [Ping timeout: 268 seconds]
InfinityFye has joined #ruby
chocoelho has quit [Quit: chocoelho]
marxarelli|afk is now known as marxarelli
Guest78497 has joined #ruby
nerium has quit [Quit: nerium]
John__ has joined #ruby
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
despai has quit [Quit: ...]
despai has joined #ruby
despai has quit [Client Quit]
paulrf has joined #ruby
nfsnobody has quit [Changing host]
nfsnobody has joined #ruby
cremes has joined #ruby
clemens3 has quit [Ping timeout: 248 seconds]
sent-hil has quit [Quit: Connection closed for inactivity]
r3kz has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
nit3rid3 has quit [Quit: Leaving]
beauby has joined #ruby
clemens3 has joined #ruby
cremes has quit [Quit: cremes]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
alex``` is now known as alexherbo2
jobewan has quit [Ping timeout: 260 seconds]
cdg has quit [Remote host closed the connection]
amatas has quit [Quit: amatas]
desperek has quit [Quit: xoxo]
clemens3 has quit [Ping timeout: 272 seconds]
jtdoncas_ has joined #ruby
BTRE has quit [Quit: Leaving]
kinduff has quit [Quit: gg]
ewaters has quit [Quit: This computer has gone to sleep]
jtdoncas_ has quit [Ping timeout: 248 seconds]